diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 03:11:32 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:08 -0300 |
commit | 56450a0ee4fdda160f4039fc2ae33edfd27765c9 (patch) | |
tree | a7566fa8dba9d38e4c748db1d1e673aee09c5244 /libavformat/hdsenc.c | |
parent | f0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (diff) | |
download | ffmpeg-56450a0ee4fdda160f4039fc2ae33edfd27765c9.tar.gz |
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/hdsenc.c')
-rw-r--r-- | libavformat/hdsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 353a45f6df..98156afafa 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); |