aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hlsplaylist.h
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-08-30 11:45:39 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-09-02 13:28:08 +0800
commit75aea52a1051a22bdebd0b7a8098ac6479a529a0 (patch)
tree101eb95abe0ca297445b6fa0debc67b6820e6155 /libavformat/hlsplaylist.h
parenta12b629ae1290966d49849b464688ef2918d9f4c (diff)
downloadffmpeg-75aea52a1051a22bdebd0b7a8098ac6479a529a0.tar.gz
lavf/hlsenc: refine the get_relative_url function to avoid extra malloc for relation path
Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/hlsplaylist.h')
-rw-r--r--libavformat/hlsplaylist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hlsplaylist.h b/libavformat/hlsplaylist.h
index 8d2d83b661..a8d29d62d3 100644
--- a/libavformat/hlsplaylist.h
+++ b/libavformat/hlsplaylist.h
@@ -38,9 +38,9 @@ typedef enum {
void ff_hls_write_playlist_version(AVIOContext *out, int version);
void ff_hls_write_audio_rendition(AVIOContext *out, char *agroup,
- char *filename, char *language, int name_id, int is_default);
+ const char *filename, char *language, int name_id, int is_default);
void ff_hls_write_stream_info(AVStream *st, AVIOContext *out,
- int bandwidth, char *filename, char *agroup,
+ int bandwidth, const char *filename, char *agroup,
char *codecs, char *ccgroup);
void ff_hls_write_playlist_header(AVIOContext *out, int version, int allowcache,
int target_duration, int64_t sequence,