demux_lmlm4: avoid printing error from check_file()
commit906366f6e103f5b36eabcd11feeeb705598a2dcf
authorUoti Urpala <uau@mplayer2.org>
Fri, 3 Aug 2012 18:02:04 +0000 (3 21:02 +0300)
committerUoti Urpala <uau@mplayer2.org>
Fri, 3 Aug 2012 18:02:04 +0000 (3 21:02 +0300)
tree2c4d2f743b2b1146aa5ae1154ca71779649ec3a3
parent91197f01af3397f90990611b32f0f03736695659
demux_lmlm4: avoid printing error from check_file()

lmlm4_check_file() did a seek back before returning failure. This
triggered a "Invalid seek to negative position" error when trying to
play very short files (mainly ones too short to actually contain
anything playable). As there's no need to change stream position
before returning demuxer detection failure, fix the spurious message
by simply removing the seek.
libmpdemux/demux_lmlm4.c