[FFmpeg-devel] [BUG] Incorrect decoding of I_PCM macroblocks in ffh264

Jason Garrett-Glaser darkshikari
Thu Jul 10 23:55:32 CEST 2008


> Seems you're not done yet, Michael ;)

Seems that you are done, because I already found the problem ;)

Patch:

Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c	(revision 14158)
+++ libavcodec/h264.c	(working copy)
@@ -5746,6 +5746,7 @@
         // All coeffs are present
         memset(h->non_zero_count[mb_xy], 16, 16);
         s->current_picture.mb_type[mb_xy]= mb_type;
+        h->last_qscale_diff = 0;
         return 0;
     }


Dark Shikari




More information about the ffmpeg-devel mailing list