mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
evrcdec: fix wrong condition
Fixes CID980005 and CID980004. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
fd6a021d8e
commit
5d7009dac2
@ -776,7 +776,8 @@ static int evrc_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
}
|
}
|
||||||
if (i == sizeof(EVRCAFrame))
|
if (i == sizeof(EVRCAFrame))
|
||||||
goto erasure;
|
goto erasure;
|
||||||
} else if (e->frame.lsp[0] == e->frame.lsp[1] == 0xf &&
|
} else if (e->frame.lsp[0] == 0xf &&
|
||||||
|
e->frame.lsp[1] == 0xf &&
|
||||||
e->frame.energy_gain == 0xff) {
|
e->frame.energy_gain == 0xff) {
|
||||||
goto erasure;
|
goto erasure;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user