1 diff -Naur ffmpeg-r19067.orig/libavcodec/pngdec.c ffmpeg-r19067/libavcodec/pngdec.c
2 --- ffmpeg-r19067.orig/libavcodec/pngdec.c 2009-05-24 08:44:54.000000000 -0400
3 +++ ffmpeg-r19067/libavcodec/pngdec.c 2009-06-03 18:53:52.000000000 -0400
8 +/* ffmpeg-r18421 introduced support for CorePNG p-frames which
9 + * breaks raw png sequences created by QuickTime Pro.
10 + * since only the first png appears to be marked as PKT_FLAG_KEY
11 + * it means either QuickTime Pro is encoding incorrectly, or
12 + * this code block needs to find other criteria.
14 + * As of ffmpeg-r19079 this patch should no longer be required.
15 + * It offers a similar solution; forces code block to be skipped.
20 /* handle p-frames only if a predecessor frame is available */
21 if(s->last_picture->data[0] != NULL) {
22 if(!(avpkt->flags & PKT_FLAG_KEY)) {
29 *picture= *s->current_picture;
30 *data_size = sizeof(AVFrame);