summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.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/h263dec.c
parentf2e77e4b1e9925f8676283c3fc8ccd23e99bb2a8 (diff)
downloadffmpeg-streaming-51ce2207c8fd3ee72d74e0a559962beaa895c234.zip
ffmpeg-streaming-51ce2207c8fd3ee72d74e0a559962beaa895c234.tar.gz
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/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index d2fcabd..f2cb976 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -172,7 +172,7 @@ static int decode_slice(MpegEncContext *s){
if(s->partitioned_frame){
const int qscale= s->qscale;
- if(s->codec_id==CODEC_ID_MPEG4){
+ if(CONFIG_MPEG4_DECODER && s->codec_id==CODEC_ID_MPEG4){
if(ff_mpeg4_decode_partitions(s) < 0)
return -1;
}
OpenPOWER on IntegriCloud