summaryrefslogtreecommitdiff
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-04-22 15:54:58 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-04-23 14:27:47 +0700
commit31f61b0d4f8d452becb44f044c739f9057900159 (patch)
tree624d61d8db11c10d9f01aabaf649aa1f45a497d3 /libavcodec/exr.c
parentfdeab95a823b10adda6f29d134122537c21578e2 (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/exr.c')
-rw-r--r--libavcodec/exr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 7cf3620d7f..71946400c5 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -1630,7 +1630,7 @@ static int decode_header(EXRContext *s, AVFrame *frame)
return AVERROR_INVALIDDATA;
}
- av_frame_set_metadata(frame, metadata);
+ frame->metadata = metadata;
// aaand we are done
bytestream2_skip(&s->gb, 1);