---
 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 d686fba..d56ad51 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 ) },
+    { AV_CODEC_ID_PCM_S16LE_PLANAR, MKTAG('P', 'S', 'P',  16 ) },
     { AV_CODEC_ID_NONE,      0                         }
 };
 
-- 
1.7.12

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to