git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silence useless compiler warning when passing AVFrame* instead of AVPicture*
[ffmpeg.git]
/
libavcodec
/
aasc.c
diff --git
a/libavcodec/aasc.c
b/libavcodec/aasc.c
index
001ed3a
..
1f66780
100644
(file)
--- a/
libavcodec/aasc.c
+++ b/
libavcodec/aasc.c
@@
-83,7
+83,7
@@
static int aasc_decode_frame(AVCodecContext *avctx,
}
break;
case 1:
- ff_msrle_decode(avctx, &s->frame, 8, buf - 4, buf_size + 4);
+ ff_msrle_decode(avctx,
(AVPicture*)
&s->frame, 8, buf - 4, buf_size + 4);
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr);