mirror of https://github.com/FFmpeg/FFmpeg.git
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.pull/59/head
parent
4299fd23d3
commit
5683de00e9
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue