[FFmpeg-cvslog] avcodec/mjpegdec: stop setting AVFrame->best_effort_timestamp

James Almer git at videolan.org
Sun Dec 13 17:18:03 EET 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Dec 12 22:20:27 2020 -0300| [94febdaec607d5b649e0781d9727cdb570131235] | committer: James Almer

avcodec/mjpegdec: stop setting AVFrame->best_effort_timestamp

It's now set by the generic decode code.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94febdaec607d5b649e0781d9727cdb570131235
---

 libavcodec/mjpegdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 82098e4295..11fb809c10 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -2605,7 +2605,6 @@ eoi_parser:
             s->got_picture = 0;
 
             frame->pkt_dts = s->pkt->dts;
-            frame->best_effort_timestamp = s->pkt->pts;
 
             if (!s->lossless) {
                 int qp = FFMAX3(s->qscale[0],



More information about the ffmpeg-cvslog mailing list