forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/mediastreamer: Fix build with ffmpeg-4
Tnanks-to: Bastien Le Querrec <[email protected]> Closes: https://bugs.gentoo.org/655170 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
media-libs/mediastreamer/files/mediastreamer-2.9.0-ffmpeg4.patch
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/src/videofilters/nowebcam.c b/src/videofilters/nowebcam.c | ||
index 60e38530..52cc3359 100644 | ||
--- a/src/videofilters/nowebcam.c | ||
+++ b/src/videofilters/nowebcam.c | ||
@@ -32,7 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
#ifndef NO_FFMPEG | ||
#include "ffmpeg-priv.h" | ||
#else | ||
-#define FF_INPUT_BUFFER_PADDING_SIZE 32 | ||
+#define AV_INPUT_BUFFER_PADDING_SIZE 32 | ||
#endif | ||
|
||
#if TARGET_OS_IPHONE | ||
@@ -1740,7 +1740,7 @@ mblk_t *ms_load_jpeg_as_yuv(const char *jpgpath, MSVideoSize *reqsize){ | ||
m=ms_load_generate_yuv(reqsize); | ||
return m; | ||
} | ||
- jpgbuf=(uint8_t*)ms_malloc0(statbuf.st_size + FF_INPUT_BUFFER_PADDING_SIZE); | ||
+ jpgbuf=(uint8_t*)ms_malloc0(statbuf.st_size + AV_INPUT_BUFFER_PADDING_SIZE); | ||
if (jpgbuf==NULL) | ||
{ | ||
close(fd); |
This file contains 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