X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ftxd.c;h=344187d7da176991d9c545168b95dad7a27db053;hb=8f899545502c287653223ca27522c4abcd3a2e91;hp=cf88a9b3bb6aa260723393544f740af1c432b71a;hpb=f58f75dd92a5d8b48e23865f6d4a69ce70d0bd1c;p=ffmpeg diff --git a/libavcodec/txd.c b/libavcodec/txd.c index cf88a9b3bb6..344187d7da1 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -47,7 +47,8 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size, GetByteContext gb; AVFrame *picture = data; AVFrame * const p = &s->picture; - unsigned int version, w, h, d3d_format, depth, stride, mipmap_count, flags; + unsigned int version, w, h, d3d_format, depth, stride, flags; + unsigned int av_unused mipmap_count; unsigned int y, v; uint8_t *ptr; uint32_t *pal; @@ -171,5 +172,5 @@ AVCodec ff_txd_decoder = { .close = txd_end, .decode = txd_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"), + .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"), };