diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-08 13:59:54 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-08 17:37:04 +0100 |
commit | 6b48076f9de1e6ca648c71052105193a539818dd (patch) | |
tree | ff300363423dd05315a38b31416c5099a65fb488 /libavcodec | |
parent | 7f1207cb79e79785ac837a9cd9f9ab6f0ba3462f (diff) | |
download | ffmpeg-6b48076f9de1e6ca648c71052105193a539818dd.tar.gz |
avcodec/ylc: Remove write-only variable
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ylc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/ylc.c b/libavcodec/ylc.c index f68fcf0bba..a200d04acd 100644 --- a/libavcodec/ylc.c +++ b/libavcodec/ylc.c @@ -58,7 +58,6 @@ static av_cold int decode_init(AVCodecContext *avctx) typedef struct Node { int16_t sym; - int16_t n0; uint32_t count; int16_t l, r; } Node; @@ -99,7 +98,6 @@ static int build_vlc(AVCodecContext *avctx, VLC *vlc, const uint32_t *table) for (i = 0; i < 256; i++) { nodes[i].count = table[i]; nodes[i].sym = i; - nodes[i].n0 = -2; nodes[i].l = i; nodes[i].r = i; } @@ -141,7 +139,6 @@ static int build_vlc(AVCodecContext *avctx, VLC *vlc, const uint32_t *table) } nodes[cur_node].count = nd + st; nodes[cur_node].sym = -1; - nodes[cur_node].n0 = cur_node; nodes[cur_node].l = first_node; nodes[cur_node].r = second_node; cur_node++; |