Silence useless compiler warning when passing AVFrame* instead of AVPicture*

to ff_msrle_decode()

Originally committed as revision 16915 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov
2009-02-01 14:44:51 +00:00
parent bc4cccd483
commit 5d44b2a138
4 changed files with 4 additions and 4 deletions

View File

@ -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);