Changeset 43f116d1 in ffmpeg
- Timestamp:
-
Dec 13, 2013, 8:45:54 AM
(11 years ago)
- Author:
- Stefano Sabatini <stefasab@gmail.com>
- Branches:
- master
- Children:
- b02d8793
- Parents:
- 65a3429e
- git-author:
- Even Wiik Thomassen <e.thomassen@sportradar.com> (12/13/13 08:24:18)
- git-committer:
- Stefano Sabatini <stefasab@gmail.com> (12/13/13 08:45:54)
- Message:
-
examples/demuxing_decoding: return error when no codec found
The open_codec_context function, when it fails to find a codec, now
return AVERROR(EINVAL) to signal an error.
Before it would return the stream index, which was always >= 0, and
continue as if a codec was found. This change make it fail faster,
instead of repeated failed tries to decode frames with no codec.
Signed-off-by: Even Wiik Thomassen <e.thomassen@sportradar.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
-
(No files)
-