[FFmpeg-cvslog] aasc: fix pointer vs value error

Michael Niedermayer git at videolan.org
Mon Mar 18 02:17:58 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 18 02:10:10 2013 +0100| [29e0357a11680842a6b0313f76e0ca43e1f91501] | committer: Michael Niedermayer

aasc: fix pointer vs value error

Fixes Ticket2365

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29e0357a11680842a6b0313f76e0ca43e1f91501
---

 libavcodec/aasc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index d3bddc6..26ba30d 100644
--- 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) {



More information about the ffmpeg-cvslog mailing list