History

lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()

The exact same code is executed at the beginning of decode_nal_units()

Anton Khirnov committed 2 years ago

Commit e12fd621 parent a82f2b01 file · +0 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/hevc/hevcdec.c+0−1
@@ -3369,7 +3369,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 3368 unmodified lines
33693369 old, s->dovi_ctx.cfg.dv_profile);
33703370 }
33713371
3372− s->cur_frame = s->collocated_ref = NULL;
33733372 ret = decode_nal_units(s, avpkt->data, avpkt->size);
33743373 if (ret < 0)
33753374 return ret;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t