X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhdsenc.c;h=98156afafa67cc0258db7b6ec49016238183dbcd;hb=56450a0ee4fdda160f4039fc2ae33edfd27765c9;hp=353a45f6df2ae3659ee5601d94a57805e5338fd4;hpb=f0c7fa2c484e197dae05fbda70a15b5e2ce81e9a;p=ffmpeg diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 353a45f6df2..98156afafa6 100644 --- a/libavformat/hdsenc.c +++ b/libavformat/hdsenc.c @@ -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);