[FFmpeg-cvslog] r22069 - trunk/libavcodec/h264.h

michael subversion
Fri Feb 26 02:38:12 CET 2010


Author: michael
Date: Fri Feb 26 02:38:12 2010
New Revision: 22069

Log:
Remove useless check of the 2 left MBs of a pair being in the same slice.

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Fri Feb 26 01:51:26 2010	(r22068)
+++ trunk/libavcodec/h264.h	Fri Feb 26 02:38:12 2010	(r22069)
@@ -860,8 +860,8 @@ static void fill_decode_caches(H264Conte
                         h->left_samples_available&= 0xFF5F;
                     }
                 }else{
-                    int left_typei = h->slice_table[left_xy[0] + s->mb_stride ] == h->slice_num
-                                    ? s->current_picture.mb_type[left_xy[0] + s->mb_stride] : 0;
+                    int left_typei = s->current_picture.mb_type[left_xy[0] + s->mb_stride];
+
                     assert(left_xy[0] == left_xy[1]);
                     if(!((left_typei & type_mask) && (left_type[0] & type_mask))){
                         h->topleft_samples_available&= 0xDF5F;



More information about the ffmpeg-cvslog mailing list