[FFmpeg-devel] [PATCH 1/2] aptx: implement the aptX bluetooth codec

Aurelien Jacobs aurel at gnuage.org
Wed Nov 8 15:06:09 EET 2017


On Wed, Nov 08, 2017 at 10:54:18AM +0100, Paul B Mahol wrote:
> On 11/7/17, Aurelien Jacobs <aurel at gnuage.org> wrote:
> > The encoder was reverse engineered from binary library and from
> > EP0398973B1 patent (long expired).
> > The decoder was simply deduced from the encoder.
> > ---
> >  doc/general.texi        |   2 +
> >  libavcodec/Makefile     |   2 +
> >  libavcodec/allcodecs.c  |   1 +
> >  libavcodec/aptx.c       | 826
> > ++++++++++++++++++++++++++++++++++++++++++++++++
> >  libavcodec/avcodec.h    |   1 +
> >  libavcodec/codec_desc.c |   7 +
> >  6 files changed, 839 insertions(+)
> >  create mode 100644 libavcodec/aptx.c
> >
> 
> [...]
> 
> > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> > index c4134424f0..36a99f4162 100644
> > --- a/libavcodec/avcodec.h
> > +++ b/libavcodec/avcodec.h
> > @@ -614,6 +614,7 @@ enum AVCodecID {
> >      AV_CODEC_ID_PAF_AUDIO,
> >      AV_CODEC_ID_ON2AVC,
> >      AV_CODEC_ID_DSS_SP,
> > +    AV_CODEC_ID_APTX,
> 
> Wrong place, it should be put bellow DOLBY_E.

Humm... Not sure why there are 2 separate lists for audio codecs but OK,
here is the updated patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aptx-implement-the-aptX-bluetooth-codec.patch
Type: text/x-diff
Size: 35621 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171108/bf9dad04/attachment.patch>


More information about the ffmpeg-devel mailing list