| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Reported-By: jb@videolan.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
|
| |
The scaling list can be specified in either the SPS or PPS.
Additionally, compensate for the diagonal scan permutation applied
in the decoder.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
The source is er_eld_2100np_48_ep0.mp4 from the official test set.
|
|
|
|
|
|
|
|
|
| |
Some files contain a few additional, all-0 bits.
Check for that case and don't print incorrect "not supported"
message.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
|
|
| |
Based in part on work from Niel van der Westhuizen <espes@pequalsnp.com>.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
avio_tell can return a negative number.
Bug-Id: CID 1265715
CC: libav-stable@libav.org
|
|
|
|
|
|
|
| |
Also propagate errors.
CC: libav-stable@libav.org
Bug-Id: CID 1238812
|
|
|
|
|
|
|
|
| |
The string might or might not be set depending if there
are args and in case of error it must be freed nonetheless.
CC: libav-stable@libav.org
Bug-Id: CID 739878 / CID 739882
|
|
|
|
|
|
|
| |
It can be less than -1.
Bug-Id: CID 1194397 / CID 1194398
CC: libav-stable@libav.org
|
|
|
|
| |
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
|
| |
The frames seem to contain a higher bitrate which our decoder is
able to handle.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This atom typically is used for a track title. The handler name is stored
as a Pascal string in the QT specs (first byte is the length of the string),
so do not export it.
A second length check based on the first character is added to avoid
overwriting an already specified handler_name (it happens with YouTube
videos for instance, the handler_name get masked), or specifying an
empty string metadata.
The Pascal string fix and the second length check are written
by Clément Bœsch <clement.boesch@smartjog.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
It will be reused by the AAC decoder.
|
|
|
|
|
|
|
|
|
| |
This fixes builds with vc1_parser enabled without vc1_decoder. All
the vc1_decoder object files were included in the vc1_parser line
in libavcodec/Makefile before, but architecture specific object files
for vc1_decoder were not.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
| |
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.
|