diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-24 23:26:08 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-25 19:07:52 +0100 |
commit | 1970ee10459942235f6639f013e755da69cc2048 (patch) | |
tree | ce80b48c4aad59ebcc02cbe2a0f751c141900b93 /libavcodec/h264dec.c | |
parent | 50c35d069a0d300d2d30986b277e9ab0c502d661 (diff) | |
download | ffmpeg-1970ee10459942235f6639f013e755da69cc2048.tar.gz |
avcodec/error_resilience: Remove write only ERContext.ref_count
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r-- | libavcodec/h264dec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index f438376431..9faa35e36d 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -776,8 +776,6 @@ end: if (sl->ref_count[1]) ff_h264_set_erpic(&h->er.next_pic, sl->ref_list[1][0].parent); - h->er.ref_count = sl->ref_count[0]; - ff_er_frame_end(&h->er); if (use_last_pic) memset(&sl->ref_list[0][0], 0, sizeof(sl->ref_list[0][0])); |