- 18 May, 2014 14 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It is not supposed to be set from outside of libavcodec. Set average framerate instead.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Do not call an AVCodecContext 'stream', that is highly confusing. Also, add a local variable for the current AVStream in the loop over all streams.
-
Anton Khirnov authored
Do not leave a non-zero extradata_size set on failure
-
Anton Khirnov authored
coded_frame is not meant to be changed from outside of lavc, and is not used for decoding. Set AVCodecContext.field_order instead.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Pad it with the required amount of zeros, check for malloc failure.
-
Anton Khirnov authored
Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
-
Anton Khirnov authored
This function should not modify any global state, so there should be no reason for any locking.
-
- 17 May, 2014 1 commit
-
-
nu774 authored
Fix incorrect wSamplesPerBlock(=0) written for ADPCM_IMA_WAV Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 16 May, 2014 4 commits
-
-
Martin Storsjö authored
Most HLS implementation only support these codecs. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Katerina Barone-Adesi authored
Clang Undefined Behaviour Sanitizer seems to make non-constant constant expressions, making the compilation fail when they are used within inline assembly if no optimization is requested. Add -O1 to the cflags to hide the misbehaviour. Bug-Id: 683
-
Hendrik Leppkes authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
This seems to be needed on some 32bit arches.
-
- 15 May, 2014 8 commits
-
-
Janne Grunau authored
Opus celt decoding 11% faster and the iMDCT over 2.5 times faster on Apple's A7.
-
Tristan Matthews authored
-
Janne Grunau authored
avcodec might depend on avresample and with --as-needed required symbols might be get removed if avresample is linked before avcodec. Fixes link failures of avprobe and avplay on aarch64 with --enable-neon-clobber-test.
-
Anton Khirnov authored
-
Anton Khirnov authored
If a non-NULL codec was passed to avcodec_alloc_context3(), private data will be already allocated in dest.
-
Anton Khirnov authored
There should not be any valid reason anymore for passing completely empty packets to lavf. OTOH side data-only packets can be useful.
-
Anton Khirnov authored
Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
-
Anton Khirnov authored
Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during GSoC 2012. Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the Mozilla Corporation. Further contributions by: Christophe Gisquet <christophe.gisquet@gmail.com> Janne Grunau <janne-libav@jannau.net> Luca Barbato <lu_zero@gentoo.org>
-
- 14 May, 2014 2 commits
-
-
Janne Grunau authored
Avoids including disabled library Makefiles.
-
Anton Khirnov authored
-
- 13 May, 2014 2 commits
-
-
Janne Grunau authored
Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
-
Janne Grunau authored
Values are positive powers of two, so just replace it with right shift.
-
- 11 May, 2014 9 commits
-
-
Anton Khirnov authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Anton Khirnov authored
It leverages the new hwaccel 1.2 features: - get_buffer2 is never called - the internal context is automatically initialized/deinitialized Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Anton Khirnov authored
-
Anton Khirnov authored
The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one.
-
Anton Khirnov authored
-
Luca Barbato authored
It would reduce the boilerplate code users have to write.
-
Anton Khirnov authored
This describes more accurately what this field is for.
-
Anton Khirnov authored
-
Anton Khirnov authored
This way each decoder does not have to do the same thing manually.
-