You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()
The exact same code is executed at the beginning of decode_nal_units()
This commit is contained in:
@ -3369,7 +3369,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||||||
old, s->dovi_ctx.cfg.dv_profile);
|
old, s->dovi_ctx.cfg.dv_profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
s->cur_frame = s->collocated_ref = NULL;
|
|
||||||
ret = decode_nal_units(s, avpkt->data, avpkt->size);
|
ret = decode_nal_units(s, avpkt->data, avpkt->size);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user