vo_dxr3: Fix validity checks before closing a file descriptor
commit4590600a42f61dc63d4becfccd60bfc5f8dcbfcd
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 9 Oct 2010 13:35:16 +0000 (9 13:35 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:18:09 +0000 (2 04:18 +0200)
tree62d23f84c8af8b2f5efbecea84d7ec831fc45544
parent26108aa19a86130436fc78866ecb465128b2b210
vo_dxr3: Fix validity checks before closing a file descriptor

-1 is invalid (and the initial value), 0 is not.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32467 b3059339-0415-0410-9bf9-f77b7e298cf2
libvo/vo_dxr3.c