From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C72A04395D for ; Wed, 3 Aug 2022 17:28:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A91F368B8B3; Wed, 3 Aug 2022 20:28:24 +0300 (EEST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 692DB68B6B0 for ; Wed, 3 Aug 2022 20:28:18 +0300 (EEST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-31f443e276fso178674137b3.1 for ; Wed, 03 Aug 2022 10:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fluendo.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fBr9xYsECv5Gzo+OfLUX6pq6NDxX5AIZtMrhgHariac=; b=e4WP5AHDY+mNOVDU0CdoCyKQrREvivxYS/eLxDmPrBn6bpIFjXXQU3CVHLFbqzoTtc TTUyYl/qU+5QVMqrGCLoAanV0kqyCSXQK/gQMdXE9GnYDLloTU3TnAOP0+qgiBnCNHbu omdsIWeDOm7Xm3QDT3KcYBF7RdUUZVCoupIEY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fBr9xYsECv5Gzo+OfLUX6pq6NDxX5AIZtMrhgHariac=; b=37IPJ1H/6lESw57QsCxNBIg16BDrH0D3q9pjsemUxVSgem5f6AgBRyF2DHpzZCdB3y q+lpahdDF+jcjIGj8Athrclzrqxh8UGin8wrYvOfcKvKJjQU6GjGMAdiH9mZ2prfB2y1 d2q32zgDnIgQ2QgpuFyApBsdxpuDYhcJbvGsUaeidCT522DFY3KBLpd1N206PbDNI7lx LJtnMOembskF8qnUIB13YDeBvVsBhQ10nhmb5ADQXLB6CZrPCxmI82bJnYrtbPJPwrEj g/+0Cj1afdZt624KMMg9k15mtLhvOQ5HjjreNGbGiKmuK/5PfSZw1YOelhRDwCp/5CjD 9r5A== X-Gm-Message-State: ACgBeo0aCSa33QQdj7EG+5CQBW8mM8JBusRLk5uz9WfGMGRj2DlwaI3u ns59YVxkCkbZue4NdhkqeNWLhR2Jqt2RA0uYJXMULIJTR5YtEg== X-Google-Smtp-Source: AA6agR5C8gzIJgYDSNoGWAJ1ptKWCqUEZphFk2W1ecz/S0OToa/22IVxmIVGE8zJMoJ8ZY63UcucLm+8OnqYb06zOT0= X-Received: by 2002:a81:106:0:b0:2d0:e682:8a7a with SMTP id 6-20020a810106000000b002d0e6828a7amr24629839ywb.257.1659547696597; Wed, 03 Aug 2022 10:28:16 -0700 (PDT) MIME-Version: 1.0 References: <20220623121436.58517-1-rgonzalez@fluendo.com> In-Reply-To: <20220623121436.58517-1-rgonzalez@fluendo.com> From: =?UTF-8?Q?Rub=C3=A9n_Gonzalez?= Date: Wed, 3 Aug 2022 19:28:05 +0200 Message-ID: To: ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] avformat: allow .ec3 as extension for raw E-AC-3 stream X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Hello community, please, Let me know if something is pending to start the review process. On Thu, Jun 23, 2022 at 2:14 PM Ruben Gonzalez wrote: > In addition to .eac3, .ec3 is also commonly used by people to name raw > E-AC-3 streams. Enables automatic recognition of the eac3 format for > the .ac3 extension. > > For instance Dolby Digital Plus software only support files with > .ec3. Files with .eac3 are not supported. Check issue #18 in the > public dlb_mp4base repository from DolbyLaboratories. > > Signed-off-by: Ruben Gonzalez > --- > libavformat/ac3dec.c | 2 +- > libavformat/rawenc.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c > index 51461befd8..989d126a81 100644 > --- a/libavformat/ac3dec.c > +++ b/libavformat/ac3dec.c > @@ -131,7 +131,7 @@ const AVInputFormat ff_eac3_demuxer = { > .read_header = ff_raw_audio_read_header, > .read_packet = ff_raw_read_partial_packet, > .flags = AVFMT_GENERIC_INDEX, > - .extensions = "eac3", > + .extensions = "eac3,ec3", > .raw_codec_id = AV_CODEC_ID_EAC3, > .priv_data_size = sizeof(FFRawDemuxerContext), > .priv_class = &ff_raw_demuxer_class, > diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c > index 26099cb1c1..267fce252d 100644 > --- a/libavformat/rawenc.c > +++ b/libavformat/rawenc.c > @@ -252,7 +252,7 @@ const AVOutputFormat ff_eac3_muxer = { > .name = "eac3", > .long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"), > .mime_type = "audio/x-eac3", > - .extensions = "eac3", > + .extensions = "eac3,ec3", > .audio_codec = AV_CODEC_ID_EAC3, > .video_codec = AV_CODEC_ID_NONE, > .init = force_one_stream, > -- > 2.25.1 > > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".