mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-07 00:20:09 +02:00
xxan: remove write-only variable
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8a90148dfe
commit
ff05fd6249
@ -296,11 +296,8 @@ static int xan_decode_frame_type0(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
if (corr_off) {
|
||||
int corr_end, dec_size;
|
||||
int dec_size;
|
||||
|
||||
corr_end = (s->gb.buffer_end - s->gb.buffer_start);
|
||||
if (chroma_off > corr_off)
|
||||
corr_end = chroma_off;
|
||||
bytestream2_seek(&s->gb, 8 + corr_off, SEEK_SET);
|
||||
dec_size = xan_unpack(s, s->scratch_buffer, s->buffer_size);
|
||||
if (dec_size < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user