Return AVERROR(EINVAL) rather than -1 in case of invalid values.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 30 Sep 2010 20:24:49 +0000 (20:24 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 30 Sep 2010 20:24:49 +0000 (20:24 +0000)
commitab3efd0077a5b81b71819c3a792bb0bc59b9d60d
treeb42a68593807d5c85cb9e8f6445f3d4ffa45d2d7
parent448ce9258c145dfe17a4616d15677f412bef7304
Return AVERROR(EINVAL) rather than -1 in case of invalid values.

Originally committed as revision 25274 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/vsrc_nullsrc.c