diff libmpdemux/demux_lavf.c @ 36360:505fcd136e73

Ensure AVDictionary pointer is initialized.
author reimar
date Sun, 22 Sep 2013 07:31:55 +0000
parents 7dca7d4d4e54
children fc93e82b8afc
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;