- 28 Apr, 2016 1 commit
-
-
Michael Niedermayer authored
Fixes crash Fixes Ticket5412 Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 21 Feb, 2016 1 commit
-
-
Oliver Collyer authored
ffserver&ffm: Fixed issues preventing ffserver write_index and files_size from being set correctly which was breaking ffserver streaming. I discovered that ffserver streaming was broken (it seems like it has been since 20th November) and I opened a ticket for this (https://trac.ffmpeg.org/ticket/5250 <https://trac.ffmpeg.org/ticket/5250>). I spent yesterday learning git bisect (with the kind help of cehoyos) to painstakingly track down the cause. This was made more difficult due to the presence of a segfault in ffserver during the period where the bug was introduced so I first had to identify when and how that was fixed and then retrospectively apply that fix again for each step of the second git bisect to find the actual bug. Anyway, the fruits of my labour are the innocent looking patch below to correct a couple of typos and define a valid range for two variables. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 11 Jan, 2016 1 commit
-
-
Andreas Cadhalpun authored
It is used to store the difference between pointers, so ptrdiff_t is the correct type. This prevents potential overflows. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 03 Jan, 2016 2 commits
-
-
Andreas Cadhalpun authored
This fixes segmentation faults caused by passing a packet_ptr of NULL to memcpy. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Michael Niedermayer authored
This preempts potential bugs if this is changed and the indention ends up different from C interpretation Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 02 Jan, 2016 1 commit
-
-
Andreas Cadhalpun authored
This fixes ubsan runtime error: left shift by 8 places cannot be represented in type 'int' Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 15 Dec, 2015 1 commit
-
-
Andreas Cadhalpun authored
A negative codec_id cannot be handled by the found_decoder API of AVStream->info: if the codec_id is not recognized, found_decoder is set to -codec_id, which has to be '<0' according to the API documentation. This can cause NULL pointer dereferencing in try_decode_frame. Also make sure the codec_type matches the expected one for codec_id. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 04 Dec, 2015 2 commits
-
-
Andreas Cadhalpun authored
If size is zero, avio_get_str fails, leaving the buffer uninitialized. This causes invalid reads in av_set_options_string. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
Otherwise the ffm demuxer can return the same packets endlessly, if there is no server attached. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 20 Nov, 2015 2 commits
-
-
Michael Niedermayer authored
This should fix a infinite loop Reviewed-by:
Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Reviewed-by:
Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Oct, 2015 1 commit
-
-
Hendrik Leppkes authored
-
- 09 Oct, 2015 1 commit
-
-
Andreas Cadhalpun authored
Reviewed-by:
Lou Logan <lou@lrcd.com> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 18 Aug, 2015 1 commit
-
-
Ronald S. Bultje authored
ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
-
- 07 Jun, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Apr, 2015 1 commit
-
-
Himangi Saraogi authored
Reviewed-by:
Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 09 Mar, 2015 4 commits
-
-
Andreas Cadhalpun authored
If resyncing leads to the same position as previously, it will again lead to a resync attempt, resulting in an infinite loop. Thus don't seek back beyond the last syncpoint. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
A negative time base can trigger assertions. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
If EOF is reached, while skipping bytes, avio_tell(pb) won't change anymore, resulting in an infinite loop. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
They are used in a switch statement, but it is not guaranteed that the COMM case (where they are set to 0) is reached before the other cases. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Nov, 2014 1 commit
-
-
Lukasz Marek authored
Signed-off-by:
Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 16 Nov, 2014 3 commits
-
-
Lukasz Marek authored
Signed-off-by:
Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
This is a generic solution that will not reqiore modifications when new options are added. This also fixes problem with current implementation when qmin or qmax=-1. Only 8 bits was sent and read back as 255. Fixes #1275 Fixes #1461 Signed-off-by:
Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by:
Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 05 Sep, 2014 1 commit
-
-
Stefano Sabatini authored
Also log an error message in case of invalid packet size.
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Jun, 2014 1 commit
-
-
Anton Khirnov authored
It has not been properly maintained for years and there is little hope of that changing in the future. It appears simpler to write a new replacement from scratch than unbreaking it.
-
- 03 Jun, 2014 1 commit
-
-
Lou Logan authored
Signed-off-by:
Lou Logan <lou@lrcd.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 25 Dec, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Nov, 2013 1 commit
-
-
Diego Biurrun authored
-
- 13 Oct, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 08 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Currently FFM files generated with one versions of ffmpeg generally cannot be read by another. By spliting data into chunks, more fields can saftely be appended to chunks as well as new chunks added. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Oct, 2012 3 commits
-
-
Michael Niedermayer authored
Fixes CID733711 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes CID703739 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes CID732202 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 16 Oct, 2012 1 commit
-
-
Mans Rullgard authored
This way avserver only depends on the data structures of the ffm demuxer, which it already does, and not also on private functions being exported by the library. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 06 Oct, 2012 1 commit
-
-
Justin Ruggles authored
-
- 01 Oct, 2012 1 commit
-
-
Diego Biurrun authored
-
- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-