aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/gifdec.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/gifdec.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/gifdec.c')
-rw-r--r--libavcodec/gifdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 48345db545..2eeed4c4c7 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -468,7 +468,7 @@ FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif
s->frame->pkt_dts = avpkt->dts;
- av_frame_set_pkt_duration(s->frame, avpkt->duration);
+ s->frame->pkt_duration = avpkt->duration;
if (avpkt->size >= 6) {
s->keyframe = memcmp(avpkt->data, gif87a_sig, 6) == 0 ||