diff h263dec.c @ 10804:c03a8c6c755b libavcodec

Add a few CONFIG_MPEG4_DECODER that should be there.
author michael
date Fri, 08 Jan 2010 04:00:06 +0000
parents 4605bd2fdb7f
children 030e30b050e4
line wrap: on
line diff
--- a/h263dec.c	Thu Jan 07 23:53:49 2010 +0000
+++ b/h263dec.c	Fri Jan 08 04:00:06 2010 +0000
@@ -172,7 +172,7 @@
     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;
         }