1 Index: libavcodec/pngdec.c
2 ===================================================================
3 --- ffmpeg.orig/libavcodec/pngdec.c (revision 22823)
4 +++ ffmpeg/libavcodec/pngdec.c (working copy)
9 +/* ffmpeg-r18421 introduced support for CorePNG p-frames which
10 + * breaks raw png sequences created by QuickTime Pro.
11 + * since only the first png appears to be marked as PKT_FLAG_KEY
12 + * it means either QuickTime Pro is encoding incorrectly, or
13 + * this code block needs to find other criteria.
15 + * As of ffmpeg-r19079 this patch should no longer be required.
16 + * It offers a similar solution; forces code block to be skipped.
21 /* handle p-frames only if a predecessor frame is available */
22 if(s->last_picture->data[0] != NULL) {
23 if(!(avpkt->flags & AV_PKT_FLAG_KEY)) {
30 *picture= *s->current_picture;
31 *data_size = sizeof(AVFrame);