diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-02 01:24:56 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-02 02:18:22 +0400 |
commit | f59ff8faa2142b6394f46ecdf1f83458eca4d802 (patch) | |
tree | af115b44a58352bae6e136fb7ec0f303f8bbac70 /libavcodec/pngdec.c | |
parent | ff080346c680ca20ab2528b84111b79c8686c2c5 (diff) |
pngdec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 2 |
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; |