mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
aasc: fix pointer vs value error
Fixes Ticket2365 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8152451b56
commit
29e0357a11
@ -101,7 +101,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
|
|||||||
switch (avctx->codec_tag) {
|
switch (avctx->codec_tag) {
|
||||||
case MKTAG('A', 'A', 'S', '4'):
|
case MKTAG('A', 'A', 'S', '4'):
|
||||||
bytestream2_init(&s->gb, buf - 4, buf_size + 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;
|
break;
|
||||||
case MKTAG('A', 'A', 'S', 'C'):
|
case MKTAG('A', 'A', 'S', 'C'):
|
||||||
switch (compr) {
|
switch (compr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user