[vlc-commits] cvpx: Fix build on macOS

David Fuhrmann git at videolan.org
Mon Oct 12 22:08:42 CEST 2020


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Oct 12 22:07:56 2020 +0200| [b7625aa0974602e11d4051a18015f5ca2fbeb6b3] | committer: David Fuhrmann

cvpx: Fix build on macOS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b7625aa0974602e11d4051a18015f5ca2fbeb6b3
---

 modules/video_chroma/cvpx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx.c
index f6a929df43..97bf253773 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx.c
@@ -376,7 +376,7 @@ static int Open(vlc_object_t *obj)
     p_filter->fmt_out.i_codec = p_filter->fmt_out.video.i_chroma;
     return VLC_SUCCESS;
 error:
-    Close(filter);
+    Close(p_filter);
     p_filter->p_sys = NULL;
 
     assert(ret != VLC_SUCCESS);



More information about the vlc-commits mailing list