Commit 0e7d39db authored by michael's avatar michael

set data_size to 0 so that in case we return without setting it nothing funny can happen


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7558 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0ffe8e58
......@@ -162,6 +162,8 @@ static int a52_decode_frame(AVCodecContext *avctx,
2, 1, 2, 3, 3, 4, 4, 5
};
*data_size= 0;
buf_ptr = buf;
while (buf_size > 0) {
len = s->inbuf_ptr - s->inbuf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment