1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Andreas Rheinhardt 47cd3c88c5 avcodec/bsf: Restrict ff_bsf_get_packet_ref() return values to <= 0
Up until now the documentation of ff_bsf_get_packet_ref() allowed return
values >= 0 in case of success, whereas av_bsf_receive_packet() only
allows 0 on success. Given that for some bitstream filters the return
value of ff_bsf_get_packet_ref() is forwarded to the caller of
av_bsf_receive_packet() without any filtering, there would be a problem
if ff_bsf_get_packet_ref() actually returned values > 0. But it
currently doesn't and there is no reason why it should ever do so.
Therefore this commit aligns the return values of these functions by
restricting ff_bsf_get_packet_ref() to always returns 0 on success.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-05-08 20:54:15 +02:00
compat
doc Revert "doc/mailing-list-faq: Mention current problem with GMX" 2020-05-08 13:29:43 +02:00
ffbuild
fftools fftools/ffmpeg: use local variable with same contents directly 2020-05-06 23:02:00 +08:00
libavcodec avcodec/bsf: Restrict ff_bsf_get_packet_ref() return values to <= 0 2020-05-08 20:54:15 +02:00
libavdevice avfoundation: Fix building on iOS 2020-04-30 14:21:47 +02:00
libavfilter dnn/native: add native support for minimum 2020-05-08 15:22:27 +08:00
libavformat avformat/hlsenc: Cosmetics 2020-05-08 15:51:43 +02:00
libavresample
libavutil avutil/opt: only skip evaluation for rational options 2020-05-01 17:22:58 +02:00
libpostproc
libswresample
libswscale libswscale: add output support for AV_PIX_FMT_GBRAPF32 2020-05-05 20:06:58 +02:00
presets
tests dnn-layer-mathbinary-test: add unit test for minimum 2020-05-08 15:22:44 +08:00
tools dnn/native: add native support for minimum 2020-05-08 15:22:27 +08:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avcodec/pcm_rechunk_bsf: add bitstream filter to rechunk pcm audio 2020-05-07 23:12:24 +02:00
configure avformat/audiointerleave: only keep the retime functionality of the audio interleaver 2020-05-07 23:12:24 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: Add myself to libopenh264enc 2020-05-06 19:12:00 +02:00
Makefile
README.md
RELEASE

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.