X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Flmlm4.c;h=99cba73a00fd83e84e9129f5a70bf556cc77d107;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=d0cf8feb03de2e7fe470ed2c79a9eee385b66dc4;hpb=a12063b118ad05409ff775ba30fab00265ad3031;p=ffmpeg diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c index d0cf8feb03d..99cba73a00f 100644 --- a/libavformat/lmlm4.c +++ b/libavformat/lmlm4.c @@ -35,7 +35,7 @@ #define LMLM4_MAX_PACKET_SIZE 1024 * 1024 -static int lmlm4_probe(AVProbeData *pd) +static int lmlm4_probe(const AVProbeData *pd) { const unsigned char *buf = pd->buf; unsigned int frame_type, packet_size; @@ -121,7 +121,7 @@ static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; } -AVInputFormat ff_lmlm4_demuxer = { +const AVInputFormat ff_lmlm4_demuxer = { .name = "lmlm4", .long_name = NULL_IF_CONFIG_SMALL("raw lmlm4"), .read_probe = lmlm4_probe,