[FFmpeg-devel] [PATCH] avformat/isom: add ni24 typo/alias for in24

Clément Bœsch u at pkh.me
Mon Aug 18 23:06:54 CEST 2014


On Mon, Aug 18, 2014 at 11:01:39PM +0200, Clément Bœsch wrote:
> This is adapted from Elemental/libavformat.isom.c.patch by a certain
> GARYH. The original patch only includes the LE version.
> 
> See also
> http://lists.apple.com/archives/quicktime-users/2009/Oct/msg00048.html
> ---
>  libavformat/isom.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavformat/isom.c b/libavformat/isom.c
> index d768c32..8daff62 100644
> --- a/libavformat/isom.c
> +++ b/libavformat/isom.c
> @@ -292,6 +292,8 @@ const AVCodecTag ff_codec_movaudio_tags[] = {
>      { AV_CODEC_ID_PCM_S16LE,       MKTAG('l', 'p', 'c', 'm') },
>      { AV_CODEC_ID_PCM_S24BE,       MKTAG('i', 'n', '2', '4') },
>      { AV_CODEC_ID_PCM_S24LE,       MKTAG('i', 'n', '2', '4') },
> +    { AV_CODEC_ID_PCM_S24BE,       MKTAG('n', 'i', '2', '4') }, /* BBC typo */
> +    { AV_CODEC_ID_PCM_S24LE,       MKTAG('n', 'i', '2', '4') }, /* BBC typo */
>      { AV_CODEC_ID_PCM_S32BE,       MKTAG('i', 'n', '3', '2') },
>      { AV_CODEC_ID_PCM_S32LE,       MKTAG('i', 'n', '3', '2') },
>      { AV_CODEC_ID_PCM_S8,          MKTAG('s', 'o', 'w', 't') },

Note: no sample, and can't confirm if the BE one makes sense.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140818/272548b4/attachment.asc>


More information about the ffmpeg-devel mailing list