From patchwork Sun Oct 29 10:35:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Stabe X-Patchwork-Id: 5738 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.90 with SMTP id m26csp1449190jah; Sun, 29 Oct 2017 03:41:44 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TwC13UVXH64vdIGNzcMXN9yg2MvHI0GQm9RAfe0eK4SkRREvz10AhrV0y3rvtFiy++fRns X-Received: by 10.28.93.145 with SMTP id r139mr1157299wmb.72.1509273704350; Sun, 29 Oct 2017 03:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509273704; cv=none; d=google.com; s=arc-20160816; b=JSAplHld+hRjFf3C7R0Xe5f+xbmqz3h5lvjh5F198MnyoP72ptziXV5RW+TAbkas9V V8EMgWxJX97GwnrX3fqridvOQDZZhr0VIqoGYf+S3h/wtCcuWD/Gg+KhAFU1ApmjrPUJ 03QdQs0Wp/xXuIDYKoXGmH/HgrUXly9Jo6JVjnCxzPM8quc+rwmlrQ4DJhgtBzKAB6/a lQc8nnFgLjixlStDEDOxX6mzbRy8i9zk6o86J9Tz+174ZVaR/nP/+pgFoZkljIILtqbW onLG7y5orJ2w5iaEfy7ERbAukNVUZ0BBORWL8SzNBykcJ7grmHcc6CvH7HipgT6SS4Gl Kzcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=eKP4YMoTJkzqsN5A3Ym6zdtfCzyoxEruZ/Nxwrh/p0c=; b=jTQixW+lFYZOo5BhnUFedP2af2IiP6jvYAK4GzY2x/LhtSVOG+Tf5Q0BIBZ3f2sZB/ 4sFuNOl5sySPcNdFOt3ndDLwp2eYUFygbsE9SseFVuUwmVzwUTXfqcPcfi5UefvSVpmm Oj/RwrgxbJBRsijjmQCxkWy5QDDOuXcIMnHtEWhmfLS4x54eJIjjsaFKTQ6CuZBDbFiH GEBmriRaIPazI2XQ2xcM1OB+CCoNciaS8dJx9hjrm5mqRN02LUMTNCT1EpHek39NOQTv 0SNZHIKQ28/YGj2a5uS75T3lNICtRLyvL6O4zu5vvdKL4a8Hwoejhx4VmDOTpy/Og/Yn zhFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q19si8663394wrg.238.2017.10.29.03.41.43; Sun, 29 Oct 2017 03:41:44 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EDAB4689E43; Sun, 29 Oct 2017 12:41:32 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 26065689DE7 for ; Sun, 29 Oct 2017 12:41:27 +0200 (EET) Received: by mail-wm0-f67.google.com with SMTP id b189so10376940wmd.4 for ; Sun, 29 Oct 2017 03:41:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wEZL9fPIhjKH7P05hkC3ebW9tv4AVXBX9IUa8kRUJ0k=; b=q8VDreto/7jCewQ8wMnCOpB8Ou1jf7g0qEG2eEWOory4F3orLazaiP1a0+CTpceUuo ViJsNquQ+azqH4Dw3MjJN1s6hTJQ1R2k0c5JJcWFcI4RtN1x2xlbsyFiTGSr/GjpEeC7 Ys8s9SJxNEIodvjpMLQPeGOaZpkxqih5+6zmiPECkZl6CES9CA8Zn1nMkHZu4qgp/Sb6 uHXm01IyugVN7i7i1wAwcEPSInleQ38tBsH0kV0aPDlH1JRJC6F3C7DU2YBHZN8m2qV4 iy28BKd3JThtSzcHrw4BXTAB8YqT7cyPuKwTBS011eGAowHvP//awyyJHMvfzOaEYZSH qQjg== X-Gm-Message-State: AMCzsaXgrsbsmk2fDK/5Hb7P9RXUATeqjbpCP+VqomQ8vtyEGepgI06I E1/t5iE4N7RILMmXOHhtcRIeRWKr X-Received: by 10.28.74.193 with SMTP id n62mr1288271wmi.61.1509273377501; Sun, 29 Oct 2017 03:36:17 -0700 (PDT) Received: from Tatooine.speedport.ip (p5DF394E1.dip0.t-ipconnect.de. [93.243.148.225]) by smtp.gmail.com with ESMTPSA id u138sm2810208wmd.17.2017.10.29.03.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Oct 2017 03:36:16 -0700 (PDT) From: Lukas Stabe To: ffmpeg-devel@ffmpeg.org Date: Sun, 29 Oct 2017 11:35:57 +0100 Message-Id: <20171029103557.64947-1-lukas@stabe.de> X-Mailer: git-send-email 2.14.3 Subject: [FFmpeg-devel] [PATCH] movenc: add m4b to ipod format extensions X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Lukas Stabe MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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(-) 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,