ffmpeg: add return value check to supress the build warning.
authorJun Zhao <jun.zhao@intel.com>
Sat, 18 Nov 2017 05:24:24 +0000 (13:24 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Nov 2017 02:13:03 +0000 (03:13 +0100)
commita5870cb37f7a694a8dc3d6b8f2deaa8fd788e17e
treeb42389bc4d3b4f935d434f8ecc6573dee96dfe91
parentd24e08e978792e09d212018677d1c0b8208ecef8
ffmpeg: add return value check to supress the build warning.

add return value check to supress the build warning message like
"warning: ignoring return value" when use attribute -Wunused-result.

Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Reviewed-by: 刘歧 <lq@chinaffmpeg.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
fftools/ffmpeg.c