diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 15:11:03 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-12 15:11:03 +0000 |
commit | 84121288c149af1c645791bf619eed3172fd561f (patch) | |
tree | aaef73f60381fc36240162c8308187ccb938efcc /libmpdemux | |
parent | 88584511ff9e9a5e84b15a239ff86fc7ff7486cc (diff) |
Remove useless checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26406 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_audio.c | 9 |
1 files changed, 1 insertions, 8 deletions
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); |