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
/
bmp.c
diff --git
a/libavcodec/bmp.c
b/libavcodec/bmp.c
index
9a20cd6
..
3d06f19
100644
(file)
--- a/
libavcodec/bmp.c
+++ b/
libavcodec/bmp.c
@@
-240,7
+240,7
@@
static int bmp_decode_frame(AVCodecContext *avctx,
buf = buf0 + hsize;
}
if(comp == BMP_RLE4 || comp == BMP_RLE8){
- ff_msrle_decode(avctx, p, depth, buf, dsize);
+ ff_msrle_decode(avctx,
(AVPicture*)
p, depth, buf, dsize);
}else{
switch(depth){
case 1: