projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
12e984a
)
dpcm: Fix invalid writes
author
Laurentiu Ion
<ionlaurentiucristian@gmail.com>
Sun, 8 Jan 2012 21:05:37 +0000
(23:05 +0200)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Sun, 8 Jan 2012 21:13:11 +0000
(13:13 -0800)
Fixes bug: #152
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/dpcm.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/dpcm.c
b/libavcodec/dpcm.c
index
935f67c
..
1b0f6b0
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 =
s->frame.data[0]
;
while (buf < buf_end) {
uint8_t n = *buf++;