mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 13:35:13 +00:00
43f116d162
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> |
||
---|---|---|
.. | ||
decoding_encoding.c | ||
demuxing_decoding.c | ||
filtering_audio.c | ||
filtering_video.c | ||
Makefile | ||
metadata.c | ||
muxing.c | ||
README | ||
resampling_audio.c | ||
scaling_video.c | ||
transcode_aac.c |
FFmpeg examples README ---------------------- Both following use cases rely on pkg-config and make, thus make sure that you have them installed and working on your system. Method 1: build the installed examples in a generic read/write user directory Copy to a read/write user directory and just use "make", it will link to the libraries on your system, assuming the PKG_CONFIG_PATH is correctly configured. Method 2: build the examples in-tree Assuming you are in the source FFmpeg checkout directory, you need to build FFmpeg (no need to make install in any prefix). Then just run "make examples". This will build the examples using the FFmpeg build system. You can clean those examples using "make examplesclean" If you want to try the dedicated Makefile examples (to emulate the first method), go into doc/examples and run a command such as PKG_CONFIG_PATH=pc-uninstalled make.