[vlc-devel] [PATCH 1/3] decoder: remove dead code

Thomas Guillem thomas at gllm.fr
Fri Nov 27 16:21:42 CET 2020


Indeed, the pool is always released just before now.
---
 src/input/decoder.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 793c7e687f9..19b774c49c1 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1948,9 +1948,6 @@ static void DeleteDecoder( vlc_input_decoder_t *p_owner )
         case VIDEO_ES: {
             vout_thread_t *vout = p_owner->p_vout;
 
-            if (p_owner->out_pool)
-                picture_pool_Cancel( p_owner->out_pool, false );
-
             if (vout != NULL)
             {
                 /* Hold the vout since PutVout will likely release it and a
-- 
2.28.0



More information about the vlc-devel mailing list