mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
supported on FreeBSD 9.3, 10.1, and 10.2. "patch-src_dvbcut.cpp" restores the code as it was in version 0.7.0. That patch shall be removed from the port in 2017, when the affected FreeBSD versions have reached EoL. Approved by: antoine (implicit)
11 lines
454 B
C++
11 lines
454 B
C++
--- src/avframe.cpp.orig 2016-11-18 13:31:01 UTC
|
|
+++ src/avframe.cpp
|
|
@@ -52,7 +52,7 @@ avframe::avframe(AVFrame *src, AVCodecCo
|
|
tobefreed = (uint8_t *)malloc(avpicture_get_size(ctx->pix_fmt, ctx->width, ctx->height));
|
|
|
|
avpicture_fill((AVPicture *)f,
|
|
- (u_int8_t*)tobefreed,
|
|
+ (uint8_t*)tobefreed,
|
|
ctx->pix_fmt,ctx->width,ctx->height);
|
|
|
|
av_picture_copy((AVPicture *)f, (const AVPicture *) src,
|