Ticket #3357: patchpng.diff
| File patchpng.diff, 451 bytes (added by , 12 years ago) |
|---|
-
libavcodec/pngdec.c
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 516dd41..2b84850 100644
a b static int decode_frame(AVCodecContext *avctx, 546 546 for (;;) { 547 547 if (bytestream2_get_bytes_left(&s->gb) <= 0) { 548 548 av_log(avctx, AV_LOG_ERROR, "No bytes left\n"); 549 goto fail;549 goto exit_loop; 550 550 } 551 551 552 552 length = bytestream2_get_be32(&s->gb);
