aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-26 20:13:10 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-26 20:13:10 +0000
commit2b04744d212852a4742c31b5c99abdf923db2adc (patch)
tree2b9214d55957347290d4bb714d798589178284ff /libmpdemux
parentc84718c5126e0085348f8c757bb1570a2935767b (diff)
Don't pass NULL pointers to demux_info_add()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16605 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ogg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c
index 893decaf57..cbefbd55c6 100644
--- a/libmpdemux/demux_ogg.c
+++ b/libmpdemux/demux_ogg.c
@@ -499,8 +499,8 @@ static void demux_ogg_check_comments(demuxer_t *d, ogg_stream_t *os, int id, vor
}
}
}
- 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++;
}