nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
authorPeter Ross <pross@xvid.org>
Sat, 19 Mar 2011 13:25:18 +0000 (00:25 +1100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 28 Apr 2011 05:25:28 +0000 (07:25 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/nut.c

index 3a6e28f..9a2ee6b 100644 (file)
@@ -65,7 +65,9 @@ const AVCodecTag ff_nut_video_tags[] = {
     { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B',  4 ) },
     { CODEC_ID_RAWVIDEO, MKTAG('B', '4', 'B', 'Y') },
     { CODEC_ID_RAWVIDEO, MKTAG('R', '4', 'B', 'Y') },
+    { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 48 ) },
     { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
+    { CODEC_ID_RAWVIDEO, MKTAG(48 , 'B', 'G', 'R') },
     { CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
     { CODEC_ID_RAWVIDEO, MKTAG('Y', '1',  0 , 16 ) },
     { CODEC_ID_RAWVIDEO, MKTAG(16 ,  0 , '1', 'Y') },