Fix ffmpeg API usage, lets this build with clang 15
Maintainer timeout
This commit is contained in:
parent
b78dc48784
commit
feb45f90be
@ -3,7 +3,7 @@ COMMENT= movie player supporting many formats
|
||||
V= 20211106
|
||||
FFMPEG_V= 4.4.3
|
||||
DISTNAME= mplayer-${V}
|
||||
REVISION= 3
|
||||
REVISION= 4
|
||||
CATEGORIES= x11 multimedia
|
||||
MASTER_SITES= https://comstyle.com/source/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
14
x11/mplayer/patches/patch-libmpcodecs_ve_lavc_c
Normal file
14
x11/mplayer/patches/patch-libmpcodecs_ve_lavc_c
Normal file
@ -0,0 +1,14 @@
|
||||
av_reallocp_array and av_realloc_array are not the same functions.
|
||||
|
||||
Index: libmpcodecs/ve_lavc.c
|
||||
--- libmpcodecs/ve_lavc.c.orig
|
||||
+++ libmpcodecs/ve_lavc.c
|
||||
@@ -442,7 +442,7 @@ static int config(struct vf_instance *vf,
|
||||
return 0;
|
||||
}
|
||||
lavc_venc_context->rc_override=
|
||||
- av_reallocp_array(lavc_venc_context->rc_override, i+1, sizeof(*lavc_venc_context->rc_override));
|
||||
+ av_realloc_array(lavc_venc_context->rc_override, i+1, sizeof(*lavc_venc_context->rc_override));
|
||||
lavc_venc_context->rc_override[i].start_frame= start;
|
||||
lavc_venc_context->rc_override[i].end_frame = end;
|
||||
if(q>0){
|
Loading…
x
Reference in New Issue
Block a user