forked from FFmpeg/FFmpeg
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:
parent
a82f2b0924
commit
e12fd62d1d
1 changed files with 0 additions and 1 deletions
|
@ -3369,7 +3369,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||
old, s->dovi_ctx.cfg.dv_profile);
|
||||
}
|
||||
|
||||
s->cur_frame = s->collocated_ref = NULL;
|
||||
ret = decode_nal_units(s, avpkt->data, avpkt->size);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Reference in a new issue