[vlc-commits] Do not try to packetize if we couldn't find a packetizer

Rafaël Carré git at videolan.org
Thu Apr 24 17:01:44 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 24 17:01:14 2014 +0200| [3b7bfa10ef54f0688508598a184d349c0f1053bc] | committer: Rafaël Carré

Do not try to packetize if we couldn't find a packetizer

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

 src/input/decoder.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 1232a76..87c65ef 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -809,6 +809,7 @@ static decoder_t * CreateDecoder( vlc_object_t *p_parent,
             {
                 es_format_Clean( &p_owner->p_packetizer->fmt_in );
                 vlc_object_release( p_owner->p_packetizer );
+                p_owner->p_packetizer = NULL;
             }
         }
     }



More information about the vlc-commits mailing list