Commit 82570d2f authored by Michael Niedermayer's avatar Michael Niedermayer

png_parser: dont falsely mark frames as keyframes

Fixes Ticket1381
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5665674b
......@@ -45,6 +45,8 @@ static int png_parse(AVCodecParserContext *s, AVCodecContext *avctx,
int next = END_NOT_FOUND;
int i = 0;
s->pict_type = AV_PICTURE_TYPE_NONE;
*poutbuf_size = 0;
if (buf_size == 0)
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment