diff options
author | James Almer <jamrial@gmail.com> | 2022-12-06 11:56:30 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-12-07 08:46:32 -0300 |
commit | c2a870222d3233695345c177e1419045d1388c5c (patch) | |
tree | 7385f159053f97235b938dd76dd85b58d7892cee /libavcodec/rawdec.c | |
parent | b08e8d520e204e7d45db15e53d0604f17c2431d9 (diff) | |
download | ffmpeg-c2a870222d3233695345c177e1419045d1388c5c.tar.gz |
avcodec/rawdec: remove redundant code setting frame properties
These same values were already set in the ff_decode_frame_props() call above.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 72cdd13916..c20c317fed 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -233,9 +233,6 @@ static int raw_decode(AVCodecContext *avctx, AVFrame *frame, if (res < 0) return res; - frame->pkt_pos = avctx->internal->last_pkt_props->pos; - frame->duration = avctx->internal->last_pkt_props->duration; - if (context->tff >= 0) { frame->interlaced_frame = 1; frame->top_field_first = context->tff; |