aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lzw.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-11 00:39:59 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-21 12:09:15 +0200
commit9bf81b49cff3945a76ac776f086a1d1adc120e6d (patch)
tree86c36af271a1a2c35a6f293bb34d6ede6ae7e523 /libavcodec/lzw.c
parent7046b63e69a5a49a8f575d89d8f0fc6680975382 (diff)
downloadffmpeg-9bf81b49cff3945a76ac776f086a1d1adc120e6d.tar.gz
img2: return AVERROR(EINVAL) in case of invalid filename pattern
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@poste.it>
Diffstat (limited to 'libavcodec/lzw.c')
0 files changed, 0 insertions, 0 deletions