Commits on Source (2)
-
Romain Vimont authored
On first call, vlc_gl_filter_GetSampler() may return NULL, so check the return value.
e3ffa4c2 -
Romain Vimont authored
vlc_gl_filter_GetSampler() may fail (return NULL), but the caller need not explicitly cleanup the returned sampler on success. Therefore, retrieve the sampler as soon as possible to simplify error handling.
021c73cd
Showing
- modules/video_filter/deinterlace/glblend.c 6 additions, 4 deletionsmodules/video_filter/deinterlace/glblend.c
- modules/video_output/opengl/filter_draw.c 4 additions, 2 deletionsmodules/video_output/opengl/filter_draw.c
- modules/video_output/opengl/filter_mock.c 4 additions, 0 deletionsmodules/video_output/opengl/filter_mock.c
- modules/video_output/opengl/renderer.c 4 additions, 1 deletionmodules/video_output/opengl/renderer.c