aom-remove-unsupported-pixel-formats.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 622360c2c4335fff793f81f5e673326a581f5c0c Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
  3. Date: Thu, 19 Apr 2018 18:25:07 +0300
  4. Subject: [PATCH] aom: Remove unsupported pixel formats
  5. Support for these was apparently never in the codebase, and the enum
  6. values were recently removed from the public headers [1].
  7. This fixes build with latest libaom build.
  8. [1] https://aomedia.googlesource.com/aom/+/3f29cc20e3a4c348cb41a797c68de856ddb84e12
  9. ---
  10. modules/codec/aom.c | 11 -----------
  11. 1 file changed, 11 deletions(-)
  12. diff --git a/modules/codec/aom.c b/modules/codec/aom.c
  13. index 5bb442b5d50..60034158c47 100644
  14. --- a/modules/codec/aom.c
  15. +++ b/modules/codec/aom.c
  16. @@ -116,17 +116,6 @@ static const struct
  17. { VLC_CODEC_YV12, AOM_IMG_FMT_YV12, 8, 0 },
  18. { VLC_CODEC_YUVA, AOM_IMG_FMT_444A, 8, 0 },
  19. - { VLC_CODEC_YUYV, AOM_IMG_FMT_YUY2, 8, 0 },
  20. - { VLC_CODEC_UYVY, AOM_IMG_FMT_UYVY, 8, 0 },
  21. - { VLC_CODEC_YVYU, AOM_IMG_FMT_YVYU, 8, 0 },
  22. -
  23. - { VLC_CODEC_RGB15, AOM_IMG_FMT_RGB555, 8, 0 },
  24. - { VLC_CODEC_RGB16, AOM_IMG_FMT_RGB565, 8, 0 },
  25. - { VLC_CODEC_RGB24, AOM_IMG_FMT_RGB24, 8, 0 },
  26. - { VLC_CODEC_RGB32, AOM_IMG_FMT_RGB32, 8, 0 },
  27. -
  28. - { VLC_CODEC_ARGB, AOM_IMG_FMT_ARGB, 8, 0 },
  29. - { VLC_CODEC_BGRA, AOM_IMG_FMT_ARGB_LE, 8, 0 },
  30. { VLC_CODEC_GBR_PLANAR, AOM_IMG_FMT_I444, 8, 1 },
  31. { VLC_CODEC_GBR_PLANAR_10L, AOM_IMG_FMT_I44416, 10, 1 },