| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This uses explicit memory copying to read and write pointer to pointers
of arbitrary object types. This works provided that the architecture
uses the same representation for all pointer types (the previous code
made that assumption already anyway).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
| |
The ogg serial number doubles as codec id and sequence
value for concatenated samples.
|
| |
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 703821
|
| |
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1265721
|
|
|
|
|
|
|
|
| |
This prevents several uninitialized variable uses that take
place towards the end of encoding.
CC: libav-stable@libav.org
Bug-Id: CID 700760
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
Error out in case of unknown values.
|
| |
|
|
|
|
|
| |
Bug-Id: CID 1257772
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Trigger a refill if the seek action moves the pointer
at the end of the buffer.
Before this patch the read action following the seek would trigger
the refill, while write action would write outside the buffer.
In the Libav codebase few muxers seek forward outside of what
already has been written so it is quite unlikely to experience
the problem with the default buffer size.
CC: libav-stable@libav.org
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
| |
Fix 'values' memory leak in case of error.
CC: libav-stable@libav.org
Bug-Id: CID 739879
|
| |
|
|
|
|
|
|
|
| |
Avoid a division by zero.
CC: libav-stable@libav.org
Bug-Id: CID 717750
|
|
|
|
|
|
|
| |
Avoid a division by zero.
CC: libav-stable@libav.org
Bug-Id: CID 717749
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Currently, audio service type is a field in AVCodecContext. However,
side data is more appropriate for this kind of information.
|
|
|
|
|
| |
It is unreliable, especially when the stream codec context is not the
encoding context. Use the codec descriptor properties instead.
|
| |
|
|
|
|
| |
Handle its only existing use case internally.
|
|
|
|
|
|
|
|
|
|
| |
It does not work correctly and apparently never did. There is no
indication that this (mis)feature is ever used in the wild or even that
any software other than the reference supports it.
Since the code that attempts to support it adds some nontrivial
complexity and has resulted in several bugs in the past, it is better to
just drop it.
|
| |
|
|
|
|
|
| |
They are always constructed anew when needed, so there is no need to
reset them explicitly.
|
| |
|
|
|
|
|
|
|
| |
Currently, it needs to be initialized by the ER caller (which is
currently either a mpegvideo decoder or h264dec). However, since none of
those decoders use MECmpContext for anything except ER, it makes more
sense to handle it purely inside ER.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
| |
For future use by hardware accelerators.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
| |
Hardware Accelerators require access to the escaped bitstream.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
| |
This enables decode_nal_unit to access additional fields added in
subsequent commits.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
| |
Makes the example work with all the supported AAC encoders.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Prevents DPB from filling up with damaged input.
|
| |
|
|
|
|
|
| |
There is no point in clearing reference explicitly, since that will be
done as a part of ff_h264_unref_picture() right below.
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1265713
|
|
|
|
|
|
|
| |
Fix a memory leak.
CC: libav-stable@libav.org
Bug-Id: CID 717999
|
|
|
|
|
|
|
|
| |
This partially reverts cf70ba37ba74089a18295b29e77dead0a3222c9e, since
it didn't take into account when rotation is 0, but there is another
valid operation (eg. translation) in the matrix.
Found-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This improves motion estimation and avoids using uninitialized data
for resolutions that aren't a multiple of 16.
Prior to d2a25c40, the edges used to be initialized so that encoding
was deterministic, but after that commit it started using uninitialized
data (for non multiple of 16 resolutions).
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
|