summaryrefslogtreecommitdiff
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-01 22:24:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-01 23:18:22 +0100
commitf59ff8faa2142b6394f46ecdf1f83458eca4d802 (patch)
treeaf115b44a58352bae6e136fb7ec0f303f8bbac70 /libavcodec/pngdec.c
parentff080346c680ca20ab2528b84111b79c8686c2c5 (diff)
downloadffmpeg-f59ff8faa2142b6394f46ecdf1f83458eca4d802.tar.gz
pngdec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 193e35e591..36db29e53e 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;