X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fdtshddec.c;h=48d3afbebd6f426f709746b5987eb3cbc22af17c;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=1bd403c8435626aa0849a6a9744f451a207959c7;hpb=a024c3ce9a502849013a4aa2c0a6de0c9270261c;p=ffmpeg diff --git a/libavformat/dtshddec.c b/libavformat/dtshddec.c index 1bd403c8435..48d3afbebd6 100644 --- a/libavformat/dtshddec.c +++ b/libavformat/dtshddec.c @@ -43,7 +43,7 @@ typedef struct DTSHDDemuxContext { uint64_t data_end; } DTSHDDemuxContext; -static int dtshd_probe(AVProbeData *p) +static int dtshd_probe(const AVProbeData *p) { if (AV_RB64(p->buf) == DTSHDHDR) return AVPROBE_SCORE_MAX; @@ -159,7 +159,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; } -AVInputFormat ff_dtshd_demuxer = { +const AVInputFormat ff_dtshd_demuxer = { .name = "dtshd", .long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"), .priv_data_size = sizeof(DTSHDDemuxContext),