diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-03-22 12:07:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-22 12:07:02 +0000 |
commit | 6b47b7300ebb4ffc2927198d3858b15d336870aa (patch) | |
tree | 1bd264891b169bdbec770d34ad8d1bc173c70b15 /libavcodec | |
parent | b839da647e13291f2340bcb40e7dbabd645380f1 (diff) | |
download | ffmpeg-6b47b7300ebb4ffc2927198d3858b15d336870aa.tar.gz |
Compile fix by (Chip <szarlada at freemail dot hu>)
Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index b6ea6820f8..28b20c319b 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -536,6 +536,8 @@ void MPV_decode_defaults(MpegEncContext *s){ * sets the given MpegEncContext to defaults for encoding. * the changed fields will not depend upon the prior state of the MpegEncContext. */ + +#ifdef CONFIG_ENCODERS void MPV_encode_defaults(MpegEncContext *s){ static int done=0; @@ -556,6 +558,7 @@ void MPV_encode_defaults(MpegEncContext *s){ s->me.mv_penalty= default_mv_penalty; s->fcode_tab= default_fcode_tab; } +#endif //CONFIG_ENCODERS /** * init common structure for both encoder and decoder. |