summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch')
-rw-r--r--media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch b/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch
deleted file mode 100644
index 2305d991147f..000000000000
--- a/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- gmic-1.5.2.2/src/CImg.h
-+++ gmic-1.5.2.2/src/CImg.h
-@@ -318,6 +318,7 @@
- extern "C" {
- #include "avformat.h"
- #include "avcodec.h"
-+#include "libavutil/mathematics.h"
- #include "swscale.h"
- }
- #endif
-@@ -44795,7 +44796,11 @@
- AVPacket pkt;
- int got_packet;
- av_init_packet(&pkt);
-+#if LIBAVCODEC_VERSION_INT<AV_VERSION_INT(54,1,0)
-+ out_size = avcodec_encode_video(c,video_outbuf,video_outbuf_size,picture);
-+#else
- out_size = avcodec_encode_video2(c,&pkt,picture,&got_packet);
-+#endif
- if (got_packet) {
- pkt.pts = av_rescale_q(c->coded_frame->pts,c->time_base,video_str->time_base);
- if (c->coded_frame->key_frame) pkt.flags|=AV_PKT_FLAG_KEY;