changeset 36360:505fcd136e73

Ensure AVDictionary pointer is initialized.
author reimar
date Sun, 22 Sep 2013 07:31:55 +0000
parents dba1b5aa72c1
children 0caa0bf428b9
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sat Sep 21 16:53:12 2013 +0000
+++ b/libmpdemux/demux_lavf.c	Sun Sep 22 07:31:55 2013 +0000
@@ -508,7 +508,7 @@
 }
 
 static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
-    AVDictionary *opts;
+    AVDictionary *opts = NULL;
     AVFormatContext *avfc;
     AVDictionaryEntry *t = NULL;
     lavf_priv_t *priv= demuxer->priv;