diff options
Diffstat (limited to 'libavcodec')
-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 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; |