mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '99cb833fc2d9874c62fffbcd3347fae660de0fe5'
* commit '99cb833fc2d9874c62fffbcd3347fae660de0fe5': sgi: Correctly propagate meaningful error values Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
2876569395
|
@ -207,7 +207,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||
bytes_per_channel);
|
||||
if (length < 1) {
|
||||
av_free(encode_buf);
|
||||
return -1;
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
bytestream2_put_be32(&tablen_pcb, length);
|
||||
|
|
Loading…
Reference in New Issue