From: Marth64 <marth64@proxyid.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v2 1/4] avcodec/eac3dec: add detection of Atmos spatial extension profile
Date: Sat, 18 Feb 2023 13:35:35 -0600
Message-ID: <CA+28BfCARdDmPV995UJ95kTM-t=20W9T=-YcG5d3pbcHdcb-ww@mail.gmail.com> (raw)
In-Reply-To: <CA+anqdx_tk5Xd7kQQMHGjyuM3gJRw82rdNHQ+aA-n2ijith9Zw@mail.gmail.com>
Embarrassing, good eye. Fixing now!
On Sat, Feb 18, 2023 at 12:59 PM Hendrik Leppkes <h.leppkes@gmail.com>
wrote:
> On Sat, Feb 18, 2023 at 6:50 PM Marth64 <marth64@proxyid.net> wrote:
> >
> > Signed-off-by: Marth64 <marth64@proxyid.net>
> > ---
> > - Missed adding the profiles to actual codec descriptor in ac3dec_float
> > - Formatting tidyness
> >
> > libavcodec/ac3dec.c | 3 +++
> > libavcodec/ac3dec.h | 1 +
> > libavcodec/ac3dec_float.c | 2 ++
> > libavcodec/avcodec.h | 2 ++
> > libavcodec/codec_desc.c | 1 +
> > libavcodec/eac3dec.c | 11 ++++++++++-
> > libavcodec/profiles.c | 5 +++++
> > libavcodec/profiles.h | 1 +
> > 8 files changed, 25 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
> > index 0b120e6140..b5f4b166d3 100644
> > --- a/libavcodec/ac3dec.c
> > +++ b/libavcodec/ac3dec.c
> > @@ -1714,6 +1714,9 @@ skip:
> > if (!err) {
> > avctx->sample_rate = s->sample_rate;
> > avctx->bit_rate = s->bit_rate + s->prev_bit_rate;
> > +
> > + if (s->eac3_extension_type_a == 1)
> > + avctx->profile = s->eac3_extension_type_a == 1 ?
> FF_PROFILE_EAC3_DDP_ATMOS : FF_PROFILE_UNKNOWN;
> > }
>
> You have to leave out the if(..) for this to make sense. :)
> _______________________________________________
> 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".
>
_______________________________________________
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".
next prev parent reply other threads:[~2023-02-18 19:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <306722>
2023-02-18 17:49 ` Marth64
2023-02-18 18:59 ` Hendrik Leppkes
2023-02-18 19:35 ` Marth64 [this message]
[not found] <306728>
2023-02-18 19:43 ` Marth64
2023-03-01 10:14 ` Hendrik Leppkes
[not found] <306450>
2023-02-18 1:14 ` Marth64
2023-02-18 16:45 ` Hendrik Leppkes
2023-02-18 16:46 ` Hendrik Leppkes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+28BfCARdDmPV995UJ95kTM-t=20W9T=-YcG5d3pbcHdcb-ww@mail.gmail.com' \
--to=marth64@proxyid.net \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git