[FFmpeg-devel] [PATCH] img2: return AVERROR(EINVAL) in case of invalid filename pattern
Michael Niedermayer
michaelni at gmx.at
Mon Apr 11 04:20:08 CEST 2011
On Mon, Apr 11, 2011 at 01:06:32AM +0200, Stefano Sabatini wrote:
> In write_packet(), return AVERROR(EINVAL) rather than AVERROR(EIO) if
> the provided output filename pattern is not valid. Indeed this has to
> be considered a configuration error rather than an I/O error.
>
> Allow a less confusing error report.
>
> Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110411/165e1849/attachment.asc>
More information about the ffmpeg-devel
mailing list