From f59ff8faa2142b6394f46ecdf1f83458eca4d802 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Mar 2013 22:24:56 +0100 Subject: pngdec: use AVFrame accessor functions Signed-off-by: Michael Niedermayer --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 193e35e..36db29e 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -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; -- cgit v1.1