changeset 16604:28716eae82c2

Don't pass NULL pointers to demux_info_add()
author rtognimp
date Mon, 26 Sep 2005 20:13:10 +0000
parents 6594cec543e0
children 58adc79e3feb
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Mon Sep 26 12:33:12 2005 +0000
+++ b/libmpdemux/demux_ogg.c	Mon Sep 26 20:13:10 2005 +0000
@@ -499,8 +499,8 @@
 	    }
 	}
     }
-    demux_info_add(d, hdr, val);
     if (hdr)
+      demux_info_add(d, hdr, val);
       mp_dbg(MSGT_DEMUX, MSGL_DBG2, " %s: %s\n", hdr, val);
     cmt++;
   }