diff aasc.c @ 8720:052c676c433b libavcodec

Silence useless compiler warning when passing AVFrame* instead of AVPicture* to ff_msrle_decode()
author kostya
date Sun, 01 Feb 2009 14:44:51 +0000
parents e9d9d946f213
children 54bc8a2727b0
line wrap: on
line diff
--- a/aasc.c	Sun Feb 01 14:07:08 2009 +0000
+++ b/aasc.c	Sun Feb 01 14:44:51 2009 +0000
@@ -83,7 +83,7 @@
         }
         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);