On 10/11/2012 07:01 PM, Luca Barbato wrote: > --- > doc/nut.texi | 2 +- > libavformat/nut.c | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/doc/nut.texi b/doc/nut.texi > index dafbb39..1c23934 100644 > --- a/doc/nut.texi > +++ b/doc/nut.texi > @@ -50,7 +50,7 @@ to be read big-endian. > @end multitable > > <type> is S for signed integer, U for unsigned integer, F for IEEE float > -<interleaving> is D for default, as a historical artefact. > +<interleaving> is D for default, P is for planar. > <bits> is 8/16/24/32 > > @example > diff --git a/libavformat/nut.c b/libavformat/nut.c > index 72b7575..cf63fc9 100644 > --- a/libavformat/nut.c > +++ b/libavformat/nut.c > @@ -110,6 +110,8 @@ const AVCodecTag ff_nut_audio_tags[] = { > { AV_CODEC_ID_PCM_U32BE, MKTAG(32 , 'D', 'U', 'P') }, > { AV_CODEC_ID_PCM_U32LE, MKTAG('P', 'U', 'D', 32 ) }, > { AV_CODEC_ID_PCM_U8, MKTAG('P', 'U', 'D', 8 ) }, > + { AV_CODEC_ID_PCM_S8_PLANAR, MKTAG('P', 'S', 'P', 8 ) },
No, PCM_S8_PLANAR is not a normal pcm codec. It is a variant of 8svx. It will not as expected work in NUT. -Justin _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel