diff options
author | Muhammad Faiz | 2017-04-22 15:54:58 +0700 |
---|---|---|
committer | Muhammad Faiz | 2017-04-23 14:27:47 +0700 |
commit | 31f61b0d4f8d452becb44f044c739f9057900159 (patch) | |
tree | 624d61d8db11c10d9f01aabaf649aa1f45a497d3 /libavcodec/gifdec.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/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 2 |
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 || |