[vlc-commits] opengl: remove p_sys assert

Thomas Guillem git at videolan.org
Sat Oct 27 19:10:09 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Oct 27 19:08:28 2018 +0200| [12ba6be75b5c09e11f6231ee9f209b79647dd816] | committer: Thomas Guillem

opengl: remove p_sys assert

p_sys will be used for software pictures too.

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

 modules/video_output/opengl/converter_sw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/opengl/converter_sw.c b/modules/video_output/opengl/converter_sw.c
index 6338a1a5c0..b23a65e15d 100644
--- a/modules/video_output/opengl/converter_sw.c
+++ b/modules/video_output/opengl/converter_sw.c
@@ -503,7 +503,6 @@ tc_common_update(const opengl_tex_converter_t *tc, GLuint *textures,
                  const GLsizei *tex_width, const GLsizei *tex_height,
                  picture_t *pic, const size_t *plane_offset)
 {
-    assert(pic->p_sys == NULL);
     int ret = VLC_SUCCESS;
     for (unsigned i = 0; i < tc->tex_count && ret == VLC_SUCCESS; i++)
     {



More information about the vlc-commits mailing list