]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/supdec.c
avcodec/avcodec: Store whether AVCodec->close needs to be called
[ffmpeg] / libavformat / supdec.c
index 0930dbcef2da4b1ea6077f6c4d2240fadedc9d57..fbcc744bb4504cf110bfb5cfc11a77cf2aed5b80 100644 (file)
@@ -68,7 +68,7 @@ static int sup_read_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-static int sup_probe(AVProbeData *p)
+static int sup_probe(const AVProbeData *p)
 {
     unsigned char *buf = p->buf;
     size_t buf_size = p->buf_size;
@@ -97,7 +97,7 @@ static int sup_probe(AVProbeData *p)
     return AVPROBE_SCORE_MAX;
 }
 
-AVInputFormat ff_sup_demuxer = {
+const AVInputFormat ff_sup_demuxer = {
     .name           = "sup",
     .long_name      = NULL_IF_CONFIG_SMALL("raw HDMV Presentation Graphic Stream subtitles"),
     .extensions     = "sup",