git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f3e7b
)
pcmdec: do not needlessly set *data_size to 0
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 27 Sep 2011 21:52:48 +0000
(17:52 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 26 Oct 2011 16:01:06 +0000
(12:01 -0400)
libavcodec/pcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm.c
b/libavcodec/pcm.c
index
66edfba
..
4b11583
100644
(file)
--- a/
libavcodec/pcm.c
+++ b/
libavcodec/pcm.c
@@
-302,7
+302,6
@@
static int pcm_decode_frame(AVCodecContext *avctx,
}
buf_size= FFMIN(buf_size, *data_size/2);
- *data_size=0;
n = buf_size/sample_size;