mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
wmadec: avoid infinit loop.
Fixes ticket183 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a13fec8a9c
commit
eb97d4d611
@ -827,7 +827,7 @@ static int wma_decode_superframe(AVCodecContext *avctx,
|
||||
return 0;
|
||||
}
|
||||
if (buf_size < s->block_align)
|
||||
return 0;
|
||||
return AVERROR(EINVAL);
|
||||
buf_size = s->block_align;
|
||||
|
||||
samples = data;
|
||||
|
Loading…
Reference in New Issue
Block a user