aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/crystalhd.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/crystalhd.c
parentfdeab95a823b10adda6f29d134122537c21578e2 (diff)
downloadffmpeg-31f61b0d4f8d452becb44f044c739f9057900159.tar.gz
avcodec: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavcodec/crystalhd.c')
-rw-r--r--libavcodec/crystalhd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index b1e5c64829..8ccd6ff8bd 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -634,9 +634,9 @@ FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif
}
- av_frame_set_pkt_pos(frame, -1);
- av_frame_set_pkt_duration(frame, 0);
- av_frame_set_pkt_size(frame, -1);
+ frame->pkt_pos = -1;
+ frame->pkt_duration = 0;
+ frame->pkt_size = -1;
if (!priv->need_second_field) {
*got_frame = 1;