summaryrefslogtreecommitdiff
path: root/libavformat/rawenc.c
diff options
context:
space:
mode:
authorWerner Robitza <werner.robitza@gmail.com>2015-01-22 22:02:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-22 23:13:08 +0100
commit4b46ce8e91bdcf0726f669525609f77fc1a88472 (patch)
treecd281f05323e9947717b6dd918fc68bf9e29c022 /libavformat/rawenc.c
parent9353ed9e94a544b462be376e61aec9f62d684f56 (diff)
downloadffmpeg-4b46ce8e91bdcf0726f669525609f77fc1a88472.tar.gz
avformat: allow .264 as extension for raw H.264 stream
In addition to .h264, .264 is also commonly used by people to name raw H.264 streams. Enables automatic recognition of the h264 format for the .264 extension. Signed-off-by: Werner Robitza <werner.robitza@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r--libavformat/rawenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index 8b50fe1f17..9b77cdcab2 100644
--- a/libavformat/rawenc.c
+++ b/libavformat/rawenc.c
@@ -205,7 +205,7 @@ AVOutputFormat ff_h263_muxer = {
AVOutputFormat ff_h264_muxer = {
.name = "h264",
.long_name = NULL_IF_CONFIG_SMALL("raw H.264 video"),
- .extensions = "h264",
+ .extensions = "h264,264",
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_H264,
.write_header = force_one_stream,