ffmpeg_opt: get_preset_file_2(): fix avio_open2() return code check
authorTimothy Gu <timothygu99@gmail.com>
Mon, 24 Feb 2014 02:19:55 +0000 (02:19 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Feb 2014 23:05:37 +0000 (00:05 +0100)
commit774239be717150909219ad2c0696bfb6a50cf2cb
tree4161edcb8f6290850481093dfe76d1e1ae97dacf
parent75f6ed8dc2321d34a0c0b3b9ec7705e7ce7dc0ea
ffmpeg_opt: get_preset_file_2(): fix avio_open2() return  code check

avio_open2() only return < 0 when error.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c