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

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


decode.c already sets it to the default value.

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

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 4d7310f6d4..3147ffa0db 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1125,7 +1125,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
         ((AVFrame *)frame)->pkt_pts = pkt->pts;
 FF_ENABLE_DEPRECATION_WARNINGS
 #endif
-        ((AVFrame *)frame)->pkt_dts = pkt->dts;
         for (i = 0; i < 8; i++) {
             if (s->next_refs[i].f->buf[0])
                 ff_thread_release_buffer(avctx, &s->next_refs[i]);
-- 
2.12.1



More information about the ffmpeg-devel mailing list