[vlc-commits] vout_wrapper: omit tautology
Rémi Denis-Courmont
git at videolan.org
Thu Dec 20 23:05:42 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Dec 20 23:59:30 2018 +0200| [0f3fa16a770e40f66697811177bfc7aac1d7c258] | committer: Rémi Denis-Courmont
vout_wrapper: omit tautology
sys->decoder_pool is set to NULL a few lines above.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f3fa16a770e40f66697811177bfc7aac1d7c258
---
src/video_output/vout_wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
index 74033cf14a..c4415466bd 100644
--- a/src/video_output/vout_wrapper.c
+++ b/src/video_output/vout_wrapper.c
@@ -104,7 +104,7 @@ int vout_OpenWrapper(vout_thread_t *vout,
sys->dpb_size = picture_pool_GetSize(display_pool) - reserved_picture;
sys->decoder_pool = display_pool;
sys->display_pool = display_pool;
- } else if (!sys->decoder_pool) {
+ } else {
sys->decoder_pool =
picture_pool_NewFromFormat(&vd->source,
__MAX(VOUT_MAX_PICTURES,
More information about the vlc-commits
mailing list