lavu: add missing formats to av_pix_fmt_swap_endianness
authorJanne Grunau <janne-libav@jannau.net>
Tue, 1 Apr 2014 21:11:59 +0000 (21:11 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 1 Apr 2014 22:27:22 +0000 (00:27 +0200)
libavutil/pixdesc.c

index d0e6919..1b34fc9 100644 (file)
@@ -1651,6 +1651,9 @@ enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
     PIX_FMT_SWAP_ENDIANNESS(YUVA444P16);
 
     PIX_FMT_SWAP_ENDIANNESS(XYZ12);
+    PIX_FMT_SWAP_ENDIANNESS(NV20);
+    PIX_FMT_SWAP_ENDIANNESS(RGBA64);
+    PIX_FMT_SWAP_ENDIANNESS(BGRA64);
     default:
         return AV_PIX_FMT_NONE;
     }