mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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))
|
||||
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) {
|
||||
goto erasure;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user