X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fqdrw.c;h=23b9efdd06a15c6403f24e5fc438007f7879763f;hb=6101e5322f083a806fd92a6261ff3197fdd0f5e7;hp=54deec5c83545c0d56e93e72f97dca78b5ced4a7;hpb=794006f8fe403ccd2993513a8e4fbe885ef7f9fb;p=ffmpeg diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 54deec5c835..23b9efdd06a 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -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"), };