Documentation says it returns "the non-negative stream number in case of success".
It can also return AVERROR_DECODER_NOT_FOUND which is -1381258232 and not -1, leading to crashes when trying to preview video files without video streams.
fvogt | |
yurchor |
Documentation says it returns "the non-negative stream number in case of success".
It can also return AVERROR_DECODER_NOT_FOUND which is -1381258232 and not -1, leading to crashes when trying to preview video files without video streams.
Whatever stable branch
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |