Bail out if stream is negative
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.
Differential Revision: https://phabricator.kde.org/D18750