X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftxd.c;h=93db88308758aaa66ac5644cfa101746b3380fd7;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=18c968395ba38ae3622ea60c908c3d53241df770;hpb=44085b9951b06df1cab4105dcda004213988d84f;p=ffmpeg diff --git a/libavformat/txd.c b/libavformat/txd.c index 18c968395ba..93db8830875 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -31,7 +31,7 @@ #define TXD_MARKER 0x1803ffff #define TXD_MARKER2 0x1003ffff -static int txd_probe(AVProbeData * pd) { +static int txd_probe(const AVProbeData * pd) { if (AV_RL32(pd->buf ) == TXD_FILE && (AV_RL32(pd->buf+8) == TXD_MARKER || AV_RL32(pd->buf+8) == TXD_MARKER2)) return AVPROBE_SCORE_MAX; @@ -92,7 +92,7 @@ next_chunk: return 0; } -AVInputFormat ff_txd_demuxer = { +const AVInputFormat ff_txd_demuxer = { .name = "txd", .long_name = NULL_IF_CONFIG_SMALL("Renderware TeXture Dictionary"), .read_probe = txd_probe,