aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/demuxing_decoding.c
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples: remove pathes from doxy examplesMichael Niedermayer2014-02-171-1/+1
| | | | | | | This makes the examples page less cluttered Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/demuxing_decoding: print the decoding error when it happens.Clément Bœsch2013-12-131-2/+2
|
* examples/demuxing_decoding: return error when no codec foundEven Wiik Thomassen2013-12-131-1/+1
| | | | | | | | | | | | 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>
* doc/examples: do not check NULL values for avcodec_close()Stefano Sabatini2013-11-211-4/+2
| | | | avcodec_close() does nothing in case the argument is NULL. Simplify.
* doc/examples: rename demuxing to demuxing_decoding.Clément Bœsch2013-11-041-0/+388
That example shows how the decoding process works, not only the demuxing.