diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
commit | 764ef400159b4f640eda8b22e8c7a20d6649a391 (patch) | |
tree | 2e359b478a7089f81c973e8153ce653ecadb39a8 /libavcodec/mpeg12.c | |
parent | a003ee9a44eca32707eaa049171bc752ba3a9fde (diff) | |
download | ffmpeg-764ef400159b4f640eda8b22e8c7a20d6649a391.tar.gz |
disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)
Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index e5d4f91621..a5e646d29f 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -48,10 +48,12 @@ #define MB_BTYPE_VLC_BITS 6 #define TEX_VLC_BITS 9 +#ifdef CONFIG_ENCODERS static void mpeg1_encode_block(MpegEncContext *s, DCTELEM *block, int component); static void mpeg1_encode_motion(MpegEncContext *s, int val, int f_or_b_code); // RAL: f_code parameter added +#endif //CONFIG_ENCODERS static void mpeg1_skip_picture(MpegEncContext *s, int pict_num); static inline int mpeg1_decode_block_inter(MpegEncContext *s, DCTELEM *block, @@ -85,7 +87,7 @@ static uint32_t mpeg1_chr_dc_uni[512]; static uint8_t mpeg1_index_run[2][64]; static int8_t mpeg1_max_level[2][64]; -#endif +#endif //CONFIG_ENCODERS static void init_2d_vlc_rl(RLTable *rl) { @@ -361,7 +363,7 @@ static void mpeg1_skip_picture(MpegEncContext *s, int pict_num) put_bits(&s->pb, 1, 1); put_bits(&s->pb, 1, 1); } -#endif +#endif //CONFIG_ENCODERS static void common_init(MpegEncContext *s) { |