summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-08 04:00:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-08 04:00:06 +0000
commit51ce2207c8fd3ee72d74e0a559962beaa895c234 (patch)
treea4dd4a4fa3024c7533bb80534ec9faec4766ba0e /libavcodec/h263.c
parentf2e77e4b1e9925f8676283c3fc8ccd23e99bb2a8 (diff)
Add a few CONFIG_MPEG4_DECODER that should be there.
Originally committed as revision 21082 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index e3a3f29b02..fd1c41a399 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -1481,7 +1481,7 @@ int ff_h263_resync(MpegEncContext *s){
if(show_bits(&s->gb, 16)==0){
pos= get_bits_count(&s->gb);
- if(s->codec_id==CODEC_ID_MPEG4)
+ if(CONFIG_MPEG4_DECODER && s->codec_id==CODEC_ID_MPEG4)
ret= mpeg4_decode_video_packet_header(s);
else
ret= h263_decode_gob_header(s);
@@ -1498,7 +1498,7 @@ int ff_h263_resync(MpegEncContext *s){
GetBitContext bak= s->gb;
pos= get_bits_count(&s->gb);
- if(s->codec_id==CODEC_ID_MPEG4)
+ if(CONFIG_MPEG4_DECODER && s->codec_id==CODEC_ID_MPEG4)
ret= mpeg4_decode_video_packet_header(s);
else
ret= h263_decode_gob_header(s);