libaom: remove references to yuv440p pixfmt

Message ID 20180402015241.5104-1-jamrial@gmail.com
State Committed
Commit ef06ed5b185dc619d9bf94d3d1284b410e25ea6b
Headers show
Series
  • libaom: remove references to yuv440p pixfmt
Related show

Commit Message

James Almer April 2, 2018, 1:52 a.m.
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@gmail.com>
---
 libavcodec/libaom.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Luca Barbato April 2, 2018, 10:25 a.m. | #1
On 02/04/2018 03:52, James Almer wrote:
> 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@gmail.com>
> ---
>   libavcodec/libaom.c | 4 ----
>   1 file changed, 4 deletions(-)
> 

Sure

Patch

diff --git a/libavcodec/libaom.c b/libavcodec/libaom.c
index 220b1bd24..f083129f4 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: