diff options
author | Martin Storsjö <martin@martin.st> | 2012-02-14 11:47:31 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-02-14 20:05:31 +0200 |
commit | 2772258a986fb2da3ca5c6eb423a5024b9e9df27 (patch) | |
tree | 01f588b56b6a731751b2246cc9ea23553ed5fea2 /libavformat | |
parent | 08bddfcde5ebf47eec6b108e0909c70da6529331 (diff) | |
download | ffmpeg-streaming-2772258a986fb2da3ca5c6eb423a5024b9e9df27.zip ffmpeg-streaming-2772258a986fb2da3ca5c6eb423a5024b9e9df27.tar.gz |
libavformat: Rename the applehttp demuxer to hls
When this demuxer was created, there didn't seem to be any
consensus of a common short name for this protocol. Now
the consensus seems to be to call it hls.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/Makefile | 2 | ||||
-rw-r--r-- | libavformat/allformats.c | 2 | ||||
-rw-r--r-- | libavformat/hls.c (renamed from libavformat/applehttp.c) | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile index cacfaf8..a54a8f5 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -33,7 +33,6 @@ OBJS-$(CONFIG_AMR_MUXER) += amr.o OBJS-$(CONFIG_ANM_DEMUXER) += anm.o OBJS-$(CONFIG_APC_DEMUXER) += apc.o OBJS-$(CONFIG_APE_DEMUXER) += ape.o apetag.o -OBJS-$(CONFIG_APPLEHTTP_DEMUXER) += applehttp.o OBJS-$(CONFIG_ASF_DEMUXER) += asfdec.o asf.o asfcrypt.o \ avlanguage.o OBJS-$(CONFIG_ASF_MUXER) += asfenc.o asf.o @@ -103,6 +102,7 @@ OBJS-$(CONFIG_H263_DEMUXER) += h263dec.o rawdec.o OBJS-$(CONFIG_H263_MUXER) += rawenc.o OBJS-$(CONFIG_H264_DEMUXER) += h264dec.o rawdec.o OBJS-$(CONFIG_H264_MUXER) += rawenc.o +OBJS-$(CONFIG_HLS_DEMUXER) += hls.o OBJS-$(CONFIG_IDCIN_DEMUXER) += idcin.o OBJS-$(CONFIG_IFF_DEMUXER) += iff.o OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2.o diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 9a55993..af6ad97 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -59,7 +59,6 @@ void av_register_all(void) REGISTER_DEMUXER (ANM, anm); REGISTER_DEMUXER (APC, apc); REGISTER_DEMUXER (APE, ape); - REGISTER_DEMUXER (APPLEHTTP, applehttp); REGISTER_MUXDEMUX (ASF, asf); REGISTER_MUXDEMUX (ASS, ass); REGISTER_MUXER (ASF_STREAM, asf_stream); @@ -104,6 +103,7 @@ void av_register_all(void) REGISTER_MUXDEMUX (H261, h261); REGISTER_MUXDEMUX (H263, h263); REGISTER_MUXDEMUX (H264, h264); + REGISTER_DEMUXER (HLS, hls); REGISTER_DEMUXER (IDCIN, idcin); REGISTER_DEMUXER (IFF, iff); REGISTER_MUXDEMUX (IMAGE2, image2); diff --git a/libavformat/applehttp.c b/libavformat/hls.c index 32a51fe..13b9b27 100644 --- a/libavformat/applehttp.c +++ b/libavformat/hls.c @@ -699,8 +699,8 @@ static int applehttp_probe(AVProbeData *p) return 0; } -AVInputFormat ff_applehttp_demuxer = { - .name = "applehttp", +AVInputFormat ff_hls_demuxer = { + .name = "hls", .long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming format"), .priv_data_size = sizeof(AppleHTTPContext), .read_probe = applehttp_probe, |