- 19 Sep, 2013 17 commits
-
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This avoids divisions by zero later. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If the height is zero, the decompression will probably end up failing due to not fitting into the allocated buffer later anyway, so this doesn't need any more elaborate check. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is similar to the fix in 35cbc98b. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The init function reads one byte of extradata. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Null buffers are useful for simulating writing to a real buffer for the sake of measuring how many bytes are written. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Vladimir Pantelic authored
ASF markers only have a start time, so we lose the chapter end times, but that is ASF for you Signed-off-by:
Vladimir Pantelic <vladoman@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Vladimir Pantelic authored
Signed-off-by:
Vladimir Pantelic <vladoman@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Vladimir Pantelic authored
Signed-off-by:
Vladimir Pantelic <vladoman@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Vladimir Pantelic authored
Signed-off-by:
Vladimir Pantelic <vladoman@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Vladimir Pantelic authored
this was forgotten when we changed ASF to not output the preroll time Signed-off-by:
Vladimir Pantelic <vladoman@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
Commit 5626f994 broke it.
-
- 18 Sep, 2013 6 commits
-
-
Alex Converse authored
-
Alex Converse authored
This does not add support for any error resilience tools.
-
Justin Ruggles authored
Container and lossy decoding by Aneesh Dogra <aneesh@sugarlabs.org> Lossless decoding by Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
-
Alexandra Khirnova authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Martin Storsjö authored
Abort if it is invalid if strict error checking has been requested. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Sep, 2013 17 commits
-
-
Martin Storsjö authored
This makes the output fragments independent of their position in the output stream, making the output work better when streamed. QuickTime Player doesn't support fragmented mp4 without the base data offset, though. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is a bit more work, but avoids having to fill in the data offset field afterwards instead of directly when the rest of the trun atom is written. This simplifies future cases where this field needs to be set to something different. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is required, since invalid parameters actually could pass the switch check below. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Josh Allmann authored
A given packet won't always come in contiguously; sometimes they may be broken up on chunk boundaries by packets of another channel. This support primarily involves tracking information about the data that's been read, so the reader can pick up where it left off for a given channel. As a side effect, we no longer over-report the bytes read if (toread = MIN(size, chunk_size)) == size Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Since the number of channels is multiplied by 36 and assigned to to a uint16_t, make sure this calculation didn't overflow. (In certain cases the calculation could overflow leaving the truncated block_align at 0, leading to divisions by zero later.) Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
prev_pkt[0] is used for input packets, while prev_pkt[1] is used for output. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
John Stebbins authored
A change in framesize caused a perpetual loss of synchronization. So read (and use) the frame size from the frame header instead of setting it only once. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
Also fix the typo in the last entry version.
-
Martin Storsjö authored
This avoids crashes when initializing the range coder for the first slice context. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is similar to an existing check for the second-last frame from 062421e3. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This avoids a potential division by zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Some files have the duration set to -1 in the mdhd atom, more or less legitimately. (We produce such files ourselves, for the initial duration in fragmented mp4 files.) Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-