libmpdemux/mf.c: Don't hardcode filename length
commit1c37a03ac6cdf7243e3781eef9c8beae777c1040
authorranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 6 Jan 2011 14:41:10 +0000 (6 14:41 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 31 Jan 2011 14:03:10 +0000 (31 16:03 +0200)
treef6e6a31a1467fb40780da93969c15c8a5e547890
parent2ce17b5afdbd7cd80290c4d9aa5c0aa78c9325d2
libmpdemux/mf.c: Don't hardcode filename length

Use limits.h to get the maximum length instead of hardcoding it.
Original patch by Sang-Uok Kum.

Signed-off-by: Tobias Diedrich <ranma@google.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32766 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpdemux/mf.c