X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpva.c;h=8e3013a4964936ad78e8594f6670faa75b45a4af;hb=9e13df3776da3a101e895e2840f6f23f5a6f74a0;hp=04ae8e2800cce1cd203d712929bb96c4b1f50ea6;hpb=fef55251d82ca1043689dddf5d03aa96c75cd4bb;p=ffmpeg diff --git a/libavformat/pva.c b/libavformat/pva.c index 04ae8e2800c..8e3013a4964 100644 --- a/libavformat/pva.c +++ b/libavformat/pva.c @@ -40,7 +40,7 @@ static int pva_check(const uint8_t *p) { return length + 8; } -static int pva_probe(AVProbeData * pd) { +static int pva_probe(const AVProbeData * pd) { const unsigned char *buf = pd->buf; int len = pva_check(buf); @@ -227,7 +227,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, return res; } -AVInputFormat ff_pva_demuxer = { +const AVInputFormat ff_pva_demuxer = { .name = "pva", .long_name = NULL_IF_CONFIG_SMALL("TechnoTrend PVA"), .priv_data_size = sizeof(PVAContext),