diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-22 11:54:58 +0300 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-23 10:27:47 +0300 |
commit | 31f61b0d4f8d452becb44f044c739f9057900159 (patch) | |
tree | 624d61d8db11c10d9f01aabaf649aa1f45a497d3 /libavcodec/pngdec.c | |
parent | fdeab95a823b10adda6f29d134122537c21578e2 (diff) |
avcodec: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
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 102551972e..aece1fcd5f 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -1171,7 +1171,7 @@ static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s, } } - metadatap = avpriv_frame_get_metadatap(p); + metadatap = &p->metadata; switch (tag) { case MKTAG('I', 'H', 'D', 'R'): if ((ret = decode_ihdr_chunk(avctx, s, length)) < 0) |