]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qdrw.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / qdrw.c
index 54deec5c83545c0d56e93e72f97dca78b5ced4a7..23b9efdd06a15c6403f24e5fc438007f7879763f 100644 (file)
@@ -40,7 +40,7 @@ static int decode_frame(AVCodecContext *avctx,
     const uint8_t *buf_end = avpkt->data + avpkt->size;
     int buf_size = avpkt->size;
     QdrawContext * const a = avctx->priv_data;
-    AVFrame * const p= (AVFrame*)&a->pic;
+    AVFrame * const p = &a->pic;
     uint8_t* outdata;
     int colors;
     int i;
@@ -172,5 +172,5 @@ AVCodec ff_qdraw_decoder = {
     .close          = decode_end,
     .decode         = decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
 };