commit | 6b0c94780d8087772a718bfa8fdcb46b1770b987 | [log] [tgz] |
---|---|---|
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | Fri Apr 17 15:55:57 2020 +0200 |
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | Thu Apr 23 19:42:03 2020 +0200 |
tree | c83b745703521fdb076125e0743802340cb61296 | |
parent | ae2537f53e8ebfa36345241b5b70c0b1aef66dd2 [diff] |
libavcodec/avpacket: Don't simply forward return value of av_dict_set() The documentation of av_dict_set() states that values >= 0 indicate success, whereas av_packet_unpack_dictionary() implies that return values > 0 are impossible. So only forward the return value of av_dict_set() in av_packet_unpack_dictionary() on error. (Btw: av_dict_set() does currently not return values > 0.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.
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.aviocat
, ismindex
and qt-faststart
.The offline documentation is available in the doc/ directory.
The online documentation is available in the main website and in the wiki.
Coding examples are available in the doc/examples directory.
FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.
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.