avformat: rename a few more h.265 to HEVC
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Oct 2013 19:18:48 +0000 (21:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Oct 2013 19:23:57 +0000 (21:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/Makefile
libavformat/allformats.c
libavformat/hevcdec.c [moved from libavformat/h265dec.c with 92% similarity]

index 5107012..9d4b626 100644 (file)
@@ -166,7 +166,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_H265_DEMUXER)              += h265dec.o rawdec.o
+OBJS-$(CONFIG_HEVC_DEMUXER)              += hevcdec.o rawdec.o
 OBJS-$(CONFIG_HLS_DEMUXER)               += hls.o
 OBJS-$(CONFIG_HLS_MUXER)                 += hlsenc.o
 OBJS-$(CONFIG_ICO_DEMUXER)               += icodec.o
index e9eafb4..0e1b262 100644 (file)
@@ -135,7 +135,7 @@ void av_register_all(void)
     REGISTER_MUXDEMUX(H261,             h261);
     REGISTER_MUXDEMUX(H263,             h263);
     REGISTER_MUXDEMUX(H264,             h264);
-    REGISTER_DEMUXER (H265,             h265);
+    REGISTER_DEMUXER (HEVC,             hevc);
     REGISTER_MUXDEMUX(HLS,              hls);
     REGISTER_MUXDEMUX(ICO,              ico);
     REGISTER_DEMUXER (IDCIN,            idcin);
similarity index 92%
rename from libavformat/h265dec.c
rename to libavformat/hevcdec.c
index ee209f3..51e1504 100644 (file)
@@ -22,7 +22,7 @@
 #include "avformat.h"
 #include "rawdec.h"
 
-static int h265_probe(AVProbeData *p)
+static int hevc_probe(AVProbeData *p)
 {
     uint32_t code= -1;
     int vps=0, sps=0, pps=0, idr=0;
@@ -57,4 +57,4 @@ static int h265_probe(AVProbeData *p)
     return 0;
 }
 
-FF_DEF_RAWVIDEO_DEMUXER(h265 , "raw H.265 video", h265_probe, "h265,265,hevc", AV_CODEC_ID_HEVC)
+FF_DEF_RAWVIDEO_DEMUXER(hevc , "raw HEVC video", hevc_probe, "h265,265,hevc", AV_CODEC_ID_HEVC)