projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable encoders where appropriate (patch courtesy of BERO
[ffmpeg.git]
/
libavcodec
/
mpegvideo.c
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
d56cde0
..
b900167
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-173,6
+173,7
@@
void ff_init_scantable(uint8_t *permutation, ScanTable *st, const uint8_t *src_s
}
}
}
}
+#ifdef CONFIG_ENCODERS
void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix){
int i;
void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix){
int i;
@@
-184,6
+185,7
@@
void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix){
}else
put_bits(pb, 1, 0);
}
}else
put_bits(pb, 1, 0);
}
+#endif //CONFIG_ENCODERS
/* init common dct for both encoder and decoder */
int DCT_common_init(MpegEncContext *s)
/* init common dct for both encoder and decoder */
int DCT_common_init(MpegEncContext *s)