Browse Source

wmadec: avoid infinit loop.

Fixes ticket183

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
eb97d4d611
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/wmadec.c

+ 1
- 1
libavcodec/wmadec.c View File

@@ -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…
Cancel
Save