[libav-commits] lavu: add missing formats to av_pix_fmt_swap_endianness

Janne Grunau git at libav.org
Wed Apr 2 00:38:38 CEST 2014


Module: libav
Branch: master
Commit: 80035db88c1f7cc23110c7472a2b13a4d2d8b73e

Author:    Janne Grunau <janne-libav at jannau.net>
Committer: Vittorio Giovara <vittorio.giovara at gmail.com>
Date:      Tue Apr  1 21:11:59 2014 +0000

lavu: add missing formats to av_pix_fmt_swap_endianness

---

 libavutil/pixdesc.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index d0e6919..1b34fc9 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -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;
     }



More information about the libav-commits mailing list