[vlc-commits] decoder: remove dead code
    Thomas Guillem 
    git at videolan.org
       
    Mon Nov 30 09:41:09 CET 2020
    
    
  
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 27 16:10:07 2020 +0100| [87d739eea8c5fd8a5b3cca6ddbbefe6b9b5ca893] | committer: Thomas Guillem
decoder: remove dead code
Indeed, the pool is always released just before now.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87d739eea8c5fd8a5b3cca6ddbbefe6b9b5ca893
---
 src/input/decoder.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 793c7e687f..19b774c49c 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
    
    
More information about the vlc-commits
mailing list