X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fqcp.c;h=206ee8bdce3580e98d4ae73193b2a8de2f0a3a23;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=b842e2633c6343064559b665cd1adcfbad3ba071;hpb=5ca7eb36b7353f9e6af05a5a952eead5f6d326dd;p=ffmpeg diff --git a/libavformat/qcp.c b/libavformat/qcp.c index b842e2633c6..206ee8bdce3 100644 --- a/libavformat/qcp.c +++ b/libavformat/qcp.c @@ -79,7 +79,7 @@ static int is_qcelp_13k_guid(const uint8_t *guid) { && !memcmp(guid+1, guid_qcelp_13k_part, sizeof(guid_qcelp_13k_part)); } -static int qcp_probe(AVProbeData *pd) +static int qcp_probe(const AVProbeData *pd) { if (AV_RL32(pd->buf ) == AV_RL32("RIFF") && AV_RL64(pd->buf+8) == AV_RL64("QLCMfmt ")) @@ -195,7 +195,7 @@ static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt) return AVERROR_EOF; } -AVInputFormat ff_qcp_demuxer = { +const AVInputFormat ff_qcp_demuxer = { .name = "qcp", .long_name = NULL_IF_CONFIG_SMALL("QCP"), .priv_data_size = sizeof(QCPContext),