0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/mplayer/libmpcodecs-ve_lavc.c.patch
2023-04-13 05:14:37 +09:00

12 lines
512 B
Diff

--- a/libmpcodecs/ve_lavc.c
+++ b/libmpcodecs/ve_lavc.c
@@ -442,7 +442,7 @@
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){