[FFmpeg-cvslog] r16996 - trunk/libavcodec/h264.c

mru subversion
Wed Feb 4 22:28:58 CET 2009


Author: mru
Date: Wed Feb  4 22:28:58 2009
New Revision: 16996

Log:
Remove CONFIG_H264_ENCODER references

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Wed Feb  4 22:28:54 2009	(r16995)
+++ trunk/libavcodec/h264.c	Wed Feb  4 22:28:58 2009	(r16996)
@@ -2679,9 +2679,6 @@ static void hl_decode_mb(H264Context *h)
     const int mb_type= s->current_picture.mb_type[mb_xy];
     int is_complex = CONFIG_SMALL || h->is_complex || IS_INTRA_PCM(mb_type) || s->qscale == 0;
 
-    if(CONFIG_H264_ENCODER && !s->decode)
-        return;
-
     if (is_complex)
         hl_decode_mb_complex(h);
     else hl_decode_mb_simple(h);
@@ -6605,7 +6602,7 @@ static int decode_slice(struct AVCodecCo
     s->mb_skip_run= -1;
 
     h->is_complex = FRAME_MBAFF || s->picture_structure != PICT_FRAME || s->codec_id != CODEC_ID_H264 ||
-                    (CONFIG_GRAY && (s->flags&CODEC_FLAG_GRAY)) || (CONFIG_H264_ENCODER && s->encoding);
+                    (CONFIG_GRAY && (s->flags&CODEC_FLAG_GRAY));
 
     if( h->pps.cabac ) {
         int i;




More information about the ffmpeg-cvslog mailing list