projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82d0bf
)
set data_size to 0 so that in case we return without setting it nothing funny can...
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Jan 2007 23:28:41 +0000
(23:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Jan 2007 23:28:41 +0000
(23:28 +0000)
Originally committed as revision 7558 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/a52dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/a52dec.c
b/libavcodec/a52dec.c
index
0a7c0c5
..
1bf7f8e
100644
(file)
--- a/
libavcodec/a52dec.c
+++ b/
libavcodec/a52dec.c
@@
-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;