diff mbox

[FFmpeg-devel] movenc: add m4b to ipod format extensions

Message ID 20171029103557.64947-1-lukas@stabe.de
State Accepted
Commit d3f1b0d3d87f782d6a89a73c57e8be992d4785da
Headers show

Commit Message

Lukas Stabe Oct. 29, 2017, 10:35 a.m. UTC
m4b is commonly used as extension for m4a audiobook files.
The format is exactly the same. The only thing that differs
is the extension.
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Oct. 29, 2017, 11:40 p.m. UTC | #1
On Sun, Oct 29, 2017 at 11:35:57AM +0100, Lukas Stabe wrote:
> m4b is commonly used as extension for m4a audiobook files.
> The format is exactly the same. The only thing that differs
> is the extension.
> ---
>  libavformat/movenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thanks

[...]
diff mbox

Patch

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index a34987a7dc..a920eb7c8f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -6664,7 +6664,7 @@  AVOutputFormat ff_ipod_muxer = {
     .name              = "ipod",
     .long_name         = NULL_IF_CONFIG_SMALL("iPod H.264 MP4 (MPEG-4 Part 14)"),
     .mime_type         = "video/mp4",
-    .extensions        = "m4v,m4a",
+    .extensions        = "m4v,m4a,m4b",
     .priv_data_size    = sizeof(MOVMuxContext),
     .audio_codec       = AV_CODEC_ID_AAC,
     .video_codec       = AV_CODEC_ID_H264,