aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c')
-rw-r--r--multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c b/multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c
new file mode 100644
index 000000000000..426fd546ffd7
--- /dev/null
+++ b/multimedia/ffmpeg/files/patch-libavcodec_imgconvert.c
@@ -0,0 +1,18 @@
+--- libavcodec/imgconvert.c.orig 2008-08-14 14:31:37.000000000 -0400
++++ libavcodec/imgconvert.c 2008-08-14 14:31:54.000000000 -0400
+@@ -2108,7 +2108,6 @@ int img_pad(AVPicture *dst, const AVPict
+ }
+ #endif
+
+-#ifndef CONFIG_SWSCALE
+ static uint8_t y_ccir_to_jpeg[256];
+ static uint8_t y_jpeg_to_ccir[256];
+ static uint8_t c_ccir_to_jpeg[256];
+@@ -2628,7 +2627,6 @@ int img_convert(AVPicture *dst, int dst_
+ avpicture_free(tmp);
+ return ret;
+ }
+-#endif
+
+ /* NOTE: we scan all the pixels to have an exact information */
+ static int get_alpha_info_pal8(const AVPicture *src, int width, int height)