[FFmpeg-devel] [PATCH] avcodec/rawdec: Remove redundant code
Michael Niedermayer
michael at niedermayer.cc
Thu Aug 15 02:08:31 EEST 2019
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavcodec/rawdec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 53f5b76e93..35d7653174 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -239,9 +239,6 @@ static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
if (res < 0)
return res;
- frame->pkt_pos = avctx->internal->last_pkt_props->pos;
- frame->pkt_duration = avctx->internal->last_pkt_props->duration;
-
if (context->tff >= 0) {
frame->interlaced_frame = 1;
frame->top_field_first = context->tff;
--
2.22.1
More information about the ffmpeg-devel
mailing list