[FFmpeg-devel] [PATCH 2/2] avcodec/gifdec: don't set AVFrame.pkt_dts

James Almer jamrial at gmail.com
Tue May 2 02:52:15 EEST 2017


decode.c already sets it to the default value.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/gifdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 2eeed4c4c7..3d90210737 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -467,7 +467,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
     s->frame->pkt_pts = avpkt->pts;
 FF_ENABLE_DEPRECATION_WARNINGS
 #endif
-    s->frame->pkt_dts = avpkt->dts;
     s->frame->pkt_duration = avpkt->duration;
 
     if (avpkt->size >= 6) {
-- 
2.12.1



More information about the ffmpeg-devel mailing list