File HandBrake-end-of-non-void-function.patch of Package HandBrake (Revision 10)

Currently displaying revision 10 , Show latest

11
 
1
--- libhb/qsv_common.c.orig 2021-07-19 09:51:29.420769173 +0200
2
+++ libhb/qsv_common.c  2021-07-19 09:51:29.436768899 +0200
3
@@ -4358,6 +4358,7 @@
4
 
5
 int hb_qsv_get_mid_by_surface_from_pool(HBQSVFramesContext* hb_enc_qsv_frames_ctx, mfxFrameSurface1 *surface, QSVMid **out_mid)
6
 {
7
+    return 0;
8
 }
9
 
10
 int hb_qsv_release_surface_from_pool_by_surface_pointer(HBQSVFramesContext* hb_enc_qsv_frames_ctx, const mfxFrameSurface1 *surface)
11