OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af0262
)
CODEC_ID_SOL_DPCM: Fix used write buffer.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Dec 2011 19:34:34 +0000
(20:34 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Dec 2011 19:34:34 +0000
(20:34 +0100)
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/dpcm.c
b/libavcodec/dpcm.c
index
b964619
..
5f186eb
100644
(file)
--- a/
libavcodec/dpcm.c
+++ b/
libavcodec/dpcm.c
@@
-288,7
+288,7
@@
static int dpcm_decode_frame(AVCodecContext *avctx, void *data,
}
case CODEC_ID_SOL_DPCM:
if (avctx->codec_tag != 3) {
- uint8_t *output_samples_u8 =
data
;
+ uint8_t *output_samples_u8 =
output_samples
;
while (buf < buf_end) {
uint8_t n = *buf++;