Created
December 12, 2013 18:15
-
-
Save Meekohi/7932670 to your computer and use it in GitHub Desktop.
Ignore deprecated field
Patch to CImg.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From c222dce2bb8bd885c86497cbcb680717a2ecb180 Mon Sep 17 00:00:00 2001 | |
| From: Michael Holroyd <[email protected]> | |
| Date: Thu, 12 Dec 2013 13:09:49 -0500 | |
| Subject: [PATCH] Ignore deprecated field | |
| --- | |
| CImg.h | 1 - | |
| 1 file changed, 1 deletion(-) | |
| diff --git a/CImg.h b/CImg.h | |
| index e8e9da9..bcd2f9b 100644 | |
| --- a/CImg.h | |
| +++ b/CImg.h | |
| @@ -45666,7 +45666,6 @@ namespace cimg_library_suffixed { | |
| filename); | |
| } | |
| tmp_pict->linesize[0] = (src_pxl_fmt==PIX_FMT_RGB24)?3*frame_dimx:frame_dimx; | |
| - tmp_pict->type = FF_BUFFER_TYPE_USER; | |
| int tmp_size = avpicture_get_size(src_pxl_fmt,frame_dimx,frame_dimy); | |
| uint8_t *tmp_buffer = (uint8_t*)av_malloc(tmp_size); | |
| if (!tmp_buffer) { // Failed to allocate memory for tmp buffer. | |
| -- | |
| 1.8.3.4 (Apple Git-47) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment