| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This function can return an error in certain situations.
Fixes Coverity CID 703707.
|
|
|
|
|
|
| |
Dropped incompatible/obsoleted HTML tag attributes
Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
|
|
|
|
|
| |
Really should have done this last time. It should provide consistency
across our allocations and frees.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yorkfield:
- sse2:
- complex: 4.13x faster (1514 vs. 367 cycles)
- simple: 4.38x faster (1836 vs. 419 cycles)
Skylake:
- sse2:
- complex: 3.61x faster ( 936 vs. 260 cycles)
- simple: 3.97x faster (1126 vs. 284 cycles)
- avx (versus sse2):
- complex: 1.07x faster (260 vs. 244 cycles)
- simple: 1.03x faster (284 vs. 274 cycles)
|
|
|
|
| |
2.87 times faster (1830 vs. 638 cycles)
|
|
|
|
| |
2.1 times faster (401 vs. 194 cycles)
|
|
|
|
|
|
|
| |
This fixes producing swf and rm files as done by ffservertest.
Reviewed-by: Reynaldo H. Verdejo Pinochet <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
It randomly causes failures with an error like:
"Failed to set value '-f' for option 'd': Error number -920332800 occurred"
(The error number is different every time.)
Reviewed-by: Reynaldo H. Verdejo Pinochet <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
|
|
|
|
| |
Not doing so makes debugging unnecessarily hard.
Reviewed-by: Reynaldo H. Verdejo Pinochet <[email protected]>
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
|
|
| |
This should deal with some false positives, but might lead to
more of them depending on whether it realises that av_freep()
wraps av_free() or not.
|
| |
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <[email protected]>
|
|
|
|
|
|
|
|
|
| |
This matrix needs to be applied after all others have (currently only
display matrix from trak), but cannot be handled in movie box, since
streams are not allocated yet. So store it in main context, and apply
it when appropriate, that is after parsing the tkhd one.
Signed-off-by: Vittorio Giovara <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Timo Rothenpieler <[email protected]>
|
|
|
|
| |
Signed-off-by: Timo Rothenpieler <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When input surfaces are cuda frames, we will not know what the actual
underlying format (nv12, p010, etc) is at surface allocation time.
On the other hand, we will know when the input frames are actually
registered and associated with a surface.
So, let's delay format discovery until registration time, which is
actually how we handle other frame properties, such as dimensions.
By itself, this change doesn't allow for transcoding of 10bit
content from cuvid, but it reduces the problem to the hardcoding of
the sw format in ffmpeg_cuvid.c
Signed-off-by: Philip Langdale <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
|
|
|
|
|
|
|
| |
Fixes Ticket3791
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Using the decode interrupt feature of ffmpeg may cause crashes by
accessing previously freed pointers in matroska_read_close.
To prevent this reset nb_elem to zero after freeing the elements,
because ffmpeg normally tests for nb_elem.
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Fixes infinite loop
Fixes: fuzz.flac
Found-by: Frank Liberato <[email protected]>
Reviewed-by: Frank Liberato <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
The code calls av_new_packet a few lines above and the allocated memory
has to be freed in case of an error.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
fixes segfault in the status page code
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
| |
Signed-off-by: Paul B Mahol <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The delta escape (2) is supposed to work the same in 4-bit RLE as in
8-bit RLE. This is documented in the MSDN Bitmap Compression page:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd183383(v=vs.85).aspx
The unchecked modification of line is safe, since the loop condition
(line >= 0) will check it before any pixel data is written.
Fixes ticket #5153 (output now matches ImageMagick for the provided sample).
Signed-off-by: Daniel Verkamp <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Reviewed-by: "Reynaldo H. Verdejo Pinochet" <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
| |
508826f961caf662cadb7c253e3c0e7d75104bdd
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
| |
Report the actual level of the encoded output if a level is
targeted or the level is passively tracked with a target of 0.
|
|
|
|
|
|
| |
This prevents writing past bounds.
Signed-off-by: Vittorio Giovara <[email protected]>
|
|
|
|
|
|
|
|
| |
This fixes some differences between runs of the ffserver tests
(in my local tree 2 runs gave the same result with this but i had other
changes too)
Signed-off-by: Michael Niedermayer <[email protected]>
|
|
|
|
|
|
|
|
| |
This fixes a segmentation fault caused by calling memcpy with NULL as
second argument in handle_p_frame_apng.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <[email protected]>
|