- 07 Mar, 2012 4 commits
-
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Diego Biurrun authored
-
Diego Biurrun authored
This fixes standalone compilation of the VC-1 parser.
-
Diego Biurrun authored
-
- 06 Mar, 2012 12 commits
-
-
Carl Eugen Hoyos authored
Fixes ticket #673. (cherry picked from commit 8dcd2a41) Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Reimar Döffinger authored
movq from SSE register _to_ memory is an SSE2 instruction. Use the SSE movlps function instead that does the same thing. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Results of IDCT can by far outreach the range of ff_cropTbl[], leading to overreads and potentially crashes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Anton Khirnov authored
-
Anton Khirnov authored
Useful for testing.
-
Anton Khirnov authored
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
avcodec_encode_video2() return value is 0 on success, encoded frame size is stored in the packet.
-
- 05 Mar, 2012 24 commits
-
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Alex Converse authored
-
Alex Converse authored
It is used to parse fixed sized fields out of a single octet. The code is simpler without it.
-
Justin Ruggles authored
-
Justin Ruggles authored
Also, do not keep trying to find and open a decoder in try_decode_frame() if we already tried and failed once. Fixes always searching until max_analyze_duration in avformat_find_stream_info() when demuxing codecs without a decoder.
-
Justin Ruggles authored
Use the estimated duration only to calculate missing timestamps if needed.
-
Justin Ruggles authored
Also, do not give AVCodecContext.frame_size priority for muxing. Updated 2 FATE references: dxa-feeble - adds 1 audio frame that is still within 2 seconds as specified by -t 2 in the FATE test wmv8-drm-nodec - durations are not needed. previously they were estimated using the packet size and average bit rate.
-
Justin Ruggles authored
-
Justin Ruggles authored
It is not necessary
-
Justin Ruggles authored
It is not necessary
-
Justin Ruggles authored
It is not necessary
-
Justin Ruggles authored
also, properly set AVCodecContext.bits_per_coded_sample, AVStreasm.start_time, and AVPacket.duration.
-
Justin Ruggles authored
it is not necessary.
-
Justin Ruggles authored
It is unnecessary. Also, for some codecs we're reading more than 1 frame per packet. Instead we use a private context variable to calculate the bit rate, stream duration, and packet durations. Updated FATE seek test, which has slightly different timestamps due to a more accurate bit rate calculation.
-
Justin Ruggles authored
It is not necessary.
-
Justin Ruggles authored
prevents lavf from setting incorrect packet durations.
-
Justin Ruggles authored
avformat_find_stream_info() no longer hangs while waiting for AAC frame_size
-
Justin Ruggles authored
In Ogg/CELT, frame_size is found in the same place as the sample_rate and channels, so we do not need to force the frame_size to be parsed.
-
Justin Ruggles authored
It was only needed to avoid a bad time base (and thus non-monotone timestamps) for stream copy to avi.
-
Justin Ruggles authored
We already will get the needed info because of CODEC_CAP_CHANNEL_CONF
-
Justin Ruggles authored
This way we can do stream copy without having the demuxer wait until frame_size has been set.
-
Justin Ruggles authored
It is more reliable than AVCodecContext.frame_size for codecs with constant packet duration.
-
Justin Ruggles authored
For encoding, frame_size is not a reliable indicator of packet duration. Also, we don't want to have to force the demuxer to find frame_size for stream copy to work.
-
Justin Ruggles authored
This is a utility function for the user to get the frame duration based on the codec id, frame size in bytes, and various AVCodecContext parameters.
-