demuxer.c: clean up demux_open_stream()
commitb98821de7cd341ee30ba228e6be1934e0ad882c2
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 10 Nov 2010 12:37:15 +0000 (10 14:37 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 10 Nov 2010 13:34:13 +0000 (10 15:34 +0200)
treee085c25998c43c48fa3bbf3b79fa0fbe316c79ed
parent7b076f79a9ecec1ebd380cc753fb41e00d95483a
demuxer.c: clean up demux_open_stream()

Refactor the code to avoid duplication. Behavior should be mostly the
same as before.
libmpdemux/demuxer.c