]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hdsenc.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavformat / hdsenc.c
index 353a45f6df2ae3659ee5601d94a57805e5338fd4..98156afafa67cc0258db7b6ec49016238183dbcd 100644 (file)
@@ -313,8 +313,8 @@ static void close_file(AVFormatContext *s, OutputStream *os)
 static int hds_write_header(AVFormatContext *s)
 {
     HDSContext *c = s->priv_data;
+    const AVOutputFormat *oformat;
     int ret = 0, i;
-    ff_const59 AVOutputFormat *oformat;
 
     if (mkdir(s->url, 0777) == -1 && errno != EEXIST) {
         av_log(s, AV_LOG_ERROR , "Failed to create directory %s\n", s->url);