Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-28 13:40:55 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-03 12:41:23 +0300
commitbdaff637234a247ad53015e28692105e6aa1d833 (patch)
tree4244b4fc2fdaaf917e70a67d18a259cbb1e43e57 /libavcodec/hevc_ps.c
parent624d0cf428d42467ddd8b3399148d9858c3d1cd1 (diff)
avcodec/hevc_ps: Remove unused-but-set variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r--libavcodec/hevc_ps.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index a955f585d9..0a122a2d6c 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -122,7 +122,6 @@ int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx,
uint8_t rps_predict = 0;
int delta_poc;
int k0 = 0;
- int k1 = 0;
int k = 0;
int i;
@@ -172,8 +171,6 @@ int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx,
rps->delta_poc[k] = delta_poc;
if (delta_poc < 0)
k0++;
- else
- k1++;
k++;
}
}