[FFmpeg-devel] [PATCH 2/2] avformat/iamfenc: ensure updated extradata is written

Michael Niedermayer michael at niedermayer.cc
Sun Mar 3 03:02:38 EET 2024


On Sat, Mar 02, 2024 at 09:31:09PM -0300, James Almer wrote:
> On 3/2/2024 9:27 PM, Michael Niedermayer wrote:
> > On Thu, Feb 29, 2024 at 02:41:22PM -0300, James Almer wrote:
> > > Signed-off-by: James Almer <jamrial at gmail.com>
> > > ---
> > >   libavformat/iamfenc.c           | 30 +++++++++++++++++++++++++++++-
> > >   tests/ref/fate/iamf-5_1_4       | 14 +++++++-------
> > >   tests/ref/fate/iamf-7_1_4       | 16 ++++++++--------
> > >   tests/ref/fate/iamf-ambisonic_1 | 10 +++++-----
> > >   tests/ref/fate/iamf-stereo      |  4 ++--
> > >   5 files changed, 51 insertions(+), 23 deletions(-)
> > 
> > seems to break fate here
> > 
> > --- ./tests/ref/fate/iamf-7_1_4	2024-03-03 01:24:48.462539621 +0100
> > +++ tests/data/fate/iamf-7_1_4	2024-03-03 01:25:31.762992374 +0100
> > @@ -1,12 +1,12 @@
> > -5d9fcee2b9b2ad3c802c40bb1147016e *tests/data/fate/iamf-7_1_4.iamf
> > +157c3185684e12cc8385ee7c3ef2fb4c *tests/data/fate/iamf-7_1_4.iamf
> >   99851 tests/data/fate/iamf-7_1_4.iamf
> > -#extradata 0:       34, 0xafa70d5e
> > -#extradata 1:       34, 0xafa70d5e
> > -#extradata 2:       34, 0xaf7b0d5c
> > -#extradata 3:       34, 0xaf7b0d5c
> > -#extradata 4:       34, 0xafa70d5e
> > -#extradata 5:       34, 0xafa70d5e
> > -#extradata 6:       34, 0xafa70d5e
> > +#extradata 0:       34, 0x40a802c6
> > +#extradata 1:       34, 0x40a802c6
> > +#extradata 2:       34, 0x407c02c4
> > +#extradata 3:       34, 0x407c02c4
> > +#extradata 4:       34, 0x40a802c6
> > +#extradata 5:       34, 0x40a802c6
> > +#extradata 6:       34, 0x40a802c6
> >   #tb 0: 1/44100
> >   #media_type 0: audio
> >   #codec_id 0: flac
> 
> Did you apply the first patch before this one?

I thought i did, but i retested with a clean branch and
with that it passes
thx


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240303/1cd3ba74/attachment.sig>


More information about the ffmpeg-devel mailing list