diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-01 23:30:16 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-11 23:56:31 +0200 |
commit | 5683de00e99e4be87419a97d521887f94acc937a (patch) | |
tree | 53b241816755baf5e4dfce06c0e1caf859eec7ad /libavutil/float_dsp.h | |
parent | 4299fd23d3f6cbd8f74be4d1eca0c3e3f46d23be (diff) | |
download | ffmpeg-5683de00e99e4be87419a97d521887f94acc937a.tar.gz |
lavu/error: fix sign error in av_sterror() error code
The value returned by strerror_r may be positive depending on the system,
so it is necessary to use AVERROR() in order to get a negative
number. This way the successive negative check will not fail, and the
function will print a meaningful error message on the buffer.
Diffstat (limited to 'libavutil/float_dsp.h')
0 files changed, 0 insertions, 0 deletions