[libav-commits] libaom: remove references to yuv440p pixfmt

James Almer git at libav.org
Tue Apr 3 00:36:50 CEST 2018


Module: libav
Branch: master
Commit: ef06ed5b185dc619d9bf94d3d1284b410e25ea6b

Author:    James Almer <jamrial at gmail.com>
Committer: James Almer <jamrial at gmail.com>
Date:      Sun Apr  1 22:50:34 2018 -0300

libaom: remove references to yuv440p pixfmt

Support for it was apparently never in the codebase, and the enum
values were recently removed from the public headers [1]

Fixes build with latest libaom build.

[1] https://aomedia.googlesource.com/aom/+/2e3cd5c5c30fa02134681cda900c32486807af3f

Signed-off-by: James Almer <jamrial at gmail.com>

---

 libavcodec/libaom.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/libaom.c b/libavcodec/libaom.c
index 220b1bd..f083129 100644
--- a/libavcodec/libaom.c
+++ b/libavcodec/libaom.c
@@ -68,8 +68,6 @@ enum AVPixelFormat ff_aom_imgfmt_to_pixfmt(aom_img_fmt_t img, int depth)
         return AV_PIX_FMT_YUV444P;
     case AOM_IMG_FMT_444A:
         return AV_PIX_FMT_YUVA444P;
-    case AOM_IMG_FMT_I440:
-        return AV_PIX_FMT_YUV440P;
     HIGH_DEPTH(420)
     HIGH_DEPTH(422)
     HIGH_DEPTH(444)
@@ -113,8 +111,6 @@ aom_img_fmt_t ff_aom_pixfmt_to_imgfmt(enum AVPixelFormat pix)
         return AOM_IMG_FMT_I444;
     case AV_PIX_FMT_YUVA444P:
         return AOM_IMG_FMT_444A;
-    case AV_PIX_FMT_YUV440P:
-        return AOM_IMG_FMT_I440;
     case AV_PIX_FMT_YUV420P10:
         return AOM_IMG_FMT_I42016;
     case AV_PIX_FMT_YUV422P10:



More information about the libav-commits mailing list