changeset 10792:13c67390a846 libavcodec

2 more if(CONFIG_*_DECODER)
author michael
date Thu, 07 Jan 2010 06:32:34 +0000
parents 48adb5a1b47b
children 9b3ec3d1bdae
files h263dec.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Thu Jan 07 06:25:41 2010 +0000
+++ b/h263dec.c	Thu Jan 07 06:32:34 2010 +0000
@@ -405,7 +405,7 @@
         ret= ff_wmv2_decode_picture_header(s);
     } else if (CONFIG_MSMPEG4_DECODER && s->msmpeg4_version) {
         ret = msmpeg4_decode_picture_header(s);
-    } else if (s->h263_pred) {
+    } else if (CONFIG_MPEG4_DECODER && s->h263_pred) {
         if(s->avctx->extradata_size && s->picture_number==0){
             GetBitContext gb;
 
@@ -413,7 +413,7 @@
             ret = ff_mpeg4_decode_picture_header(s, &gb);
         }
         ret = ff_mpeg4_decode_picture_header(s, &s->gb);
-    } else if (s->codec_id == CODEC_ID_H263I) {
+    } else if (CONFIG_H263I_DECODER && s->codec_id == CODEC_ID_H263I) {
         ret = ff_intel_h263_decode_picture_header(s);
     } else if (CONFIG_FLV_DECODER && s->h263_flv) {
         ret = ff_flv_decode_picture_header(s);