diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 22:24:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 23:18:22 +0100 |
commit | ff080346c680ca20ab2528b84111b79c8686c2c5 (patch) | |
tree | 48dc291b050223364a956ae4d721d6f2e57db4d4 /libavcodec | |
parent | 7d7fb70129a6cf86d348d22bc7b847e39c715326 (diff) | |
download | ffmpeg-streaming-ff080346c680ca20ab2528b84111b79c8686c2c5.zip ffmpeg-streaming-ff080346c680ca20ab2528b84111b79c8686c2c5.tar.gz |
gifdec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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 71d3d70..8fb1f4b 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -451,7 +451,7 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, A s->picture.pts = avpkt->pts; s->picture.pkt_pts = avpkt->pts; s->picture.pkt_dts = avpkt->dts; - s->picture.pkt_duration = avpkt->duration; + av_frame_set_pkt_duration(&s->picture, avpkt->duration); if (avpkt->size >= 6) { s->keyframe = memcmp(avpkt->data, gif87a_sig, 6) == 0 || |