You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user