[FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version

Tomas Härdin git at haerdin.se
Sat Dec 30 18:00:16 EET 2023


fre 2023-12-29 klockan 00:30 +0100 skrev Michael Niedermayer:
> On Thu, Dec 28, 2023 at 10:21:23PM +0100, Tomas Härdin wrote:
> > tor 2023-12-28 klockan 21:29 +0100 skrev Michael Niedermayer:
> > > On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> > > > libcodec2 has reached 1.X so it's about time the bindings
> > > > receive
> > > > some
> > > > attention. This patchset also includes some much-needed tests.
> > > > Where do
> > > > I submit files for inclusion in FATE again? They are very small
> > > > as
> > > > is
> > > > to be expected from a codec that runs at 700-3200 bit/s
> > > > 
> > > > /Tomas
> > > 
> > > >  codec2utils.h |    6 +++---
> > > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > > a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2  0001-lavc-
> > > > codec2utils-
> > > > Use-actual-libcodec2-version.patch
> > > > From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17
> > > > 00:00:00
> > > > 2001
> > > > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git at haerdin.se>
> > > > Date: Wed, 27 Dec 2023 17:32:21 +0100
> > > > Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2
> > > > version
> > > 
> > > This breaks build here
> > > 
> > > CC      libavformat/codec2.o
> > > In file included from libavformat/codec2.c:24:0:
> > > ./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h:
> > > No
> > > such file or directory
> > >  #include <codec2/version.h>
> > >           ^~~~~~~~~~~~~~~~~~
> > 
> > What version of libcodec2 are you using? I don't think we can rely
> > on
> > versions that don't expose version information, which only comes
> > about
> > because I explicitly told them to please expose it in a header. I
> > don't
> > think we can even probe version at configure time otherwise.
> > 
> > libcodec2-dev on Debian bookworm works for me
> 
> i think theres no libcodec2* on the box and this header is used
> outside
> checks for libcodec2* ...

Updated patch attached

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-codec2utils-Use-actual-libcodec2-version.patch
Type: text/x-patch
Size: 1517 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231230/dfe86bae/attachment.bin>


More information about the ffmpeg-devel mailing list