mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
wmadec: avoid infinit loop.
Fixes ticket183 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user