-diff -Naur ffmpeg-r19067.orig/libavcodec/pngdec.c ffmpeg-r19067/libavcodec/pngdec.c
---- ffmpeg-r19067.orig/libavcodec/pngdec.c 2009-05-24 08:44:54.000000000 -0400
-+++ ffmpeg-r19067/libavcodec/pngdec.c 2009-06-02 23:42:29.000000000 -0400
-@@ -593,6 +593,14 @@
+Index: libavcodec/pngdec.c
+===================================================================
+--- ffmpeg.orig/libavcodec/pngdec.c (revision 22823)
++++ ffmpeg/libavcodec/pngdec.c (working copy)
+@@ -597,6 +597,18 @@
}
}
exit_loop:
+ * since only the first png appears to be marked as PKT_FLAG_KEY
+ * it means either QuickTime Pro is encoding incorrectly, or
+ * this code block needs to find other criteria.
++ *
++ * As of ffmpeg-r19079 this patch should no longer be required.
++ * It offers a similar solution; forces code block to be skipped.
++ *
+ * --kb
+ */
+#if 0
/* handle p-frames only if a predecessor frame is available */
if(s->last_picture->data[0] != NULL) {
- if(!(avpkt->flags & PKT_FLAG_KEY)) {
-@@ -609,6 +617,7 @@
+ if(!(avpkt->flags & AV_PKT_FLAG_KEY)) {
+@@ -613,6 +625,7 @@
}
}
}