libaom: remove references to yuva444p pixfmt

Message ID 20181026021824.11236-1-jamrial@gmail.com
State Committed
Commit 8d80046a0ff72652438ed3ea361d59a58a9a082f
Headers show
Series
  • libaom: remove references to yuva444p pixfmt
Related show

Commit Message

James Almer Oct. 26, 2018, 2:18 a.m.
Support for it was apparently never in the codebase, and the enum
value was recently removed from the public headers [1]

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

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavcodec/libaom.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Luca Barbato Oct. 26, 2018, 3:33 p.m. | #1
On 26/10/2018 04:18, James Almer wrote:
> Support for it was apparently never in the codebase, and the enum
> value was recently removed from the public headers [1]
> 
> [1] https://aomedia.googlesource.com/aom/+/f1570f0c2f70832dd170285f8de60bd2379c8efa
> 
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  libavcodec/libaom.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/libavcodec/libaom.c b/libavcodec/libaom.c
> index 512095b33..bfc25ebe3 100644
> --- a/libavcodec/libaom.c
> +++ b/libavcodec/libaom.c
> @@ -44,8 +44,6 @@ enum AVPixelFormat ff_aom_imgfmt_to_pixfmt(aom_img_fmt_t img, int depth)
>          return AV_PIX_FMT_YUV422P;
>      case AOM_IMG_FMT_I444:
>          return AV_PIX_FMT_YUV444P;
> -    case AOM_IMG_FMT_444A:
> -        return AV_PIX_FMT_YUVA444P;
>      HIGH_DEPTH(420)
>      HIGH_DEPTH(422)
>      HIGH_DEPTH(444)
> @@ -65,8 +63,6 @@ aom_img_fmt_t ff_aom_pixfmt_to_imgfmt(enum AVPixelFormat pix)
>          return AOM_IMG_FMT_I422;
>      case AV_PIX_FMT_YUV444P:
>          return AOM_IMG_FMT_I444;
> -    case AV_PIX_FMT_YUVA444P:
> -        return AOM_IMG_FMT_444A;
>      case AV_PIX_FMT_YUV420P10:
>          return AOM_IMG_FMT_I42016;
>      case AV_PIX_FMT_YUV422P10:
> 

Sure

Patch

diff --git a/libavcodec/libaom.c b/libavcodec/libaom.c
index 512095b33..bfc25ebe3 100644
--- a/libavcodec/libaom.c
+++ b/libavcodec/libaom.c
@@ -44,8 +44,6 @@  enum AVPixelFormat ff_aom_imgfmt_to_pixfmt(aom_img_fmt_t img, int depth)
         return AV_PIX_FMT_YUV422P;
     case AOM_IMG_FMT_I444:
         return AV_PIX_FMT_YUV444P;
-    case AOM_IMG_FMT_444A:
-        return AV_PIX_FMT_YUVA444P;
     HIGH_DEPTH(420)
     HIGH_DEPTH(422)
     HIGH_DEPTH(444)
@@ -65,8 +63,6 @@  aom_img_fmt_t ff_aom_pixfmt_to_imgfmt(enum AVPixelFormat pix)
         return AOM_IMG_FMT_I422;
     case AV_PIX_FMT_YUV444P:
         return AOM_IMG_FMT_I444;
-    case AV_PIX_FMT_YUVA444P:
-        return AOM_IMG_FMT_444A;
     case AV_PIX_FMT_YUV420P10:
         return AOM_IMG_FMT_I42016;
     case AV_PIX_FMT_YUV422P10: