Commit f59ff8fa authored by Michael Niedermayer's avatar Michael Niedermayer

pngdec: use AVFrame accessor functions

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ff080346
......@@ -853,7 +853,7 @@ static int decode_frame(AVCodecContext *avctx,
}
}
s->current_picture->metadata = metadata;
av_frame_set_metadata(&s->current_picture, metadata);
metadata = NULL;
*picture = *s->current_picture;
*got_frame = 1;
......
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