projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9997596
)
mp3on4: do not needlessly set data_size to 0
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 25 Oct 2011 16:46:57 +0000
(12:46 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 28 Oct 2011 02:06:32 +0000
(22:06 -0400)
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
2751df6
..
d5af782
100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-2047,7
+2047,6
@@
static int decode_frame_mp3on4(AVCodecContext * avctx,
return AVERROR(EINVAL);
}
- *data_size = 0;
// Discard too short frames
if (buf_size < HEADER_SIZE)
return AVERROR_INVALIDDATA;