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:
8152451
)
aasc: fix pointer vs value error
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2013 01:10:10 +0000
(
02:10
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2013 01:10:10 +0000
(
02:10
+0100)
Fixes Ticket2365
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aasc.c
patch
|
blob
|
history
diff --git
a/libavcodec/aasc.c
b/libavcodec/aasc.c
index
d3bddc6
..
26ba30d
100644
(file)
--- a/
libavcodec/aasc.c
+++ b/
libavcodec/aasc.c
@@
-101,7
+101,7
@@
static int aasc_decode_frame(AVCodecContext *avctx,
switch (avctx->codec_tag) {
case MKTAG('A', 'A', 'S', '4'):
bytestream2_init(&s->gb, buf - 4, buf_size + 4);
- ff_msrle_decode(avctx, (AVPicture*)
&
s->frame, 8, &s->gb);
+ ff_msrle_decode(avctx, (AVPicture*)s->frame, 8, &s->gb);
break;
case MKTAG('A', 'A', 'S', 'C'):
switch (compr) {