From 84121288c149af1c645791bf619eed3172fd561f Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 12 Apr 2008 15:11:03 +0000 Subject: Remove useless checks git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26406 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_audio.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libmpdemux') diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index 9bd2af6188..e806f2a9fe 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -150,14 +150,7 @@ get_flac_metadata (demuxer_t* demuxer) { uint8_t preamble[4]; unsigned int blk_len; - stream_t *s = NULL; - - if (!demuxer) - return; - - s = demuxer->stream; - if (!s) - return; + stream_t *s = demuxer->stream; /* file is qualified; skip over the signature bytes in the stream */ stream_seek (s, 4); -- cgit v1.2.3