[FFmpeg-devel] [PATCH] img2: return AVERROR(EINVAL) in case of invalid filename pattern

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Apr 21 12:46:55 CEST 2011


On date Monday 2011-04-11 04:20:08 +0200, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Fundamental Freak MultiPurpose Evangelical Geek


More information about the ffmpeg-devel mailing list