- 12 Dec, 2019 1 commit
-
-
Andreas Rheinhardt authored
It is not uncommon to find code where the caller thinks to know better what the return value should be than the callee. E.g. something like "if (av_new_packet(pkt, size) < 0) return AVERROR(ENOMEM);". This commit changes several instances of this to instead forward the actual error. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 10 Dec, 2019 1 commit
-
-
Michael Niedermayer authored
Fixes: signed integer overflow: -9223372036854775808 - 17 cannot be represented in type 'long' Fixes: 18768/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5674385247830016 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 04 Dec, 2019 1 commit
-
-
Andreas Rheinhardt authored
Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 15 Sep, 2019 2 commits
-
-
James Almer authored
Regression since 78f52b4fSigned-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Fixes ticket 8143. Reviewed-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 21 Mar, 2019 1 commit
-
-
Carl Eugen Hoyos authored
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
-
- 17 Aug, 2018 1 commit
-
-
Michael Niedermayer authored
Fixes: long running loop Fixes: ivr-timeout-42468cb797f52f025fb329394702f5d4d64322d6 Found-by:
Paul Ch <paulcher@icloud.com> Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 05 Jul, 2018 1 commit
-
-
Michael Niedermayer authored
Fixes: use after free() Fixes: rmdec-crash-ffe85b4cab1597d1cfea6955705e53f1f5c8a362 Found-by:
Paul Ch <paulcher@icloud.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 02 Apr, 2018 1 commit
-
-
Paul B Mahol authored
Also do not set empty metadata. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 27 Aug, 2017 1 commit
-
-
孙浩 and 张洪亮(望初) authored
Fixes: loop.ivr Found-by: Xiaohei and Wangchu from Alibaba Security Team Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 25 Jul, 2017 1 commit
-
-
Sean McGovern authored
Accidentally left out of 95ce02b3.
-
- 17 Jul, 2017 1 commit
-
-
Sean McGovern authored
-
- 29 Mar, 2017 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 16 Jan, 2017 1 commit
-
-
Paul B Mahol authored
Fixes #2056. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 23 Dec, 2016 1 commit
-
-
Diego Biurrun authored
-
- 22 Nov, 2016 1 commit
-
-
Andreas Cadhalpun authored
This fixes division by zero crashes. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 30 Sep, 2016 1 commit
-
-
Anton Khirnov authored
It is supposed to be a flag. The only currently defined value is AVIO_SEEKABLE_NORMAL, but other ones may be added in the future. However all the current lavf code treats this field as a bool (mainly for historical reasons). Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
-
- 17 Aug, 2016 1 commit
-
-
Diego Biurrun authored
-
- 02 Aug, 2016 1 commit
-
-
Carl Eugen Hoyos authored
Reported-by: applemax82
-
- 29 Jul, 2016 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Apr, 2016 1 commit
-
-
Paul B Mahol authored
Needed for av_log() inside that function. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 23 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
-
- 15 Jan, 2016 1 commit
-
-
James Almer authored
Also change the format specifier to expect an unsigned int Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 14 Jan, 2016 2 commits
-
-
Michael Niedermayer authored
Fixes: asan_heap-oob_445b39_1741_d00eb645ab48eb2203b4a04a5b997103.ivr Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes out of array access Fixes: asan_heap-oob_445b39_1741_d00eb645ab48eb2203b4a04a5b997103.ivr Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 22 Dec, 2015 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #5100.
-
- 09 Dec, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes: CID1341580 Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 18 Nov, 2015 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 27 Oct, 2015 1 commit
-
-
Hendrik Leppkes authored
-
- 26 Oct, 2015 1 commit
-
-
Luca Barbato authored
`av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
-
- 28 Aug, 2015 1 commit
-
-
Vittorio Giovara authored
Deprecated in 10/2012.
-
- 14 Aug, 2015 2 commits
-
-
Michael Niedermayer authored
Fixes Ticket4496 Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 19 Apr, 2015 1 commit
-
-
Vittorio Giovara authored
This applies to every library where performance is not critical.
-
- 26 Mar, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket4393 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 08 Mar, 2015 1 commit
-
-
Carl Eugen Hoyos authored
Use correct context, reduce log level, don't assume it is a video stream, and print the tag of the unknown stream. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 06 Mar, 2015 1 commit
-
-
Andreas Cadhalpun authored
opttimizations -> optimizations grabing -> grabbing many resource -> many resources isnt -> isn't silcense -> silence Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Feb, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Bug-Id: CID 1257835
-