diff options
Diffstat (limited to 'libavcodec/png_parser.c')
-rw-r--r-- | libavcodec/png_parser.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/png_parser.c b/libavcodec/png_parser.c index 530d5a0bad..74f2964118 100644 --- a/libavcodec/png_parser.c +++ b/libavcodec/png_parser.c @@ -45,8 +45,6 @@ static int png_parse(AVCodecParserContext *s, AVCodecContext *avctx, s->pict_type = AV_PICTURE_TYPE_NONE; *poutbuf_size = 0; - if (buf_size == 0) - return 0; if (!ppc->pc.frame_start_found) { uint64_t state64 = ppc->pc.state64; |