summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* h264: do not call field_end if we do not have a current pictureAnton Khirnov2014-01-18
| | | | | | | Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* h264: limit allowed pred modes in ff_h264_check_intra_pred_mode() to 3Anton Khirnov2014-01-18
| | | | | | | | | | Higher modes are not allowed for 16x16/chroma, which is what this function is used for. Otherwise this function would return 0 (vertical prediction) for invalid higher modes, which could result in invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* h264: reset first_field if frame_start() fails for missing refsAnton Khirnov2014-01-18
| | | | | | | | | | In this case we may not have a current frame, while first_field being set implies we do. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* Prepare for 10_alpha2 ReleaseReinhard Tartler2014-01-18
|
* avisynth: fix setting packet propertiesMichael Niedermayer2014-01-17
| | | | | | Reviewed-by: Stephen Hutchinson <qyot27@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctlyAnton Khirnov2014-01-17
|
* yuv4mpeg: set average frame rateAnton Khirnov2014-01-17
|
* avconv: print a warning when falling back to default 25fpsAnton Khirnov2014-01-17
|
* mp3enc: allow omitting the id3v2 header with -id3v2_version 0Anton Khirnov2014-01-17
|
* mp3enc: add an option for disabling the Xing frame.Anton Khirnov2014-01-17
|
* doxy: Document better the available AVFrame flagsLuca Barbato2014-01-17
|
* doxy: Add AVFrame to the structured modulesLuca Barbato2014-01-17
|
* aviocat: Add support for specifying the input durationMartin Storsjö2014-01-17
| | | | | | | This avoids the caller having to calculate the byte rate if wanting to push a file in a rate resembling realtime. Signed-off-by: Martin Storsjö <martin@martin.st>
* aviocat: Check the argv array length before reading element i+1Martin Storsjö2014-01-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: dsputil: Simplify xvmc deprecation conditionalDiego Biurrun2014-01-15
|
* build: Add separate hidden config option for the intrax8 codeDiego Biurrun2014-01-15
| | | | This allows for slightly cleaner dependency specification.
* aarch64: port neon clobber test from armJanne Grunau2014-01-15
|
* aarch64: h264 (bi)weight NEON optimizationsJanne Grunau2014-01-15
| | | | Ported from ARMv7 NEON.
* aarch64: h264 loop filter NEON optimizationsJanne Grunau2014-01-15
| | | | Ported from ARMv7 NEON.
* aarch64: hpeldsp NEON optimizationsJanne Grunau2014-01-15
| | | | Ported from ARMv7 NEON.
* aarch64: h264 qpel NEON optimizationsJanne Grunau2014-01-15
| | | | Ported from ARMv7 NEON.
* aarch64: h264 idct NEON assembler optimizationsJanne Grunau2014-01-15
| | | | Ported from ARMv7 NEON.
* aarch64: h264 chroma motion compensation NEON optimizationsJanne Grunau2014-01-15
| | | | | Since RV40 and VC-1 use almost the same algorithm so optimizations for those two decoders are easy to do and included.
* aarch64: add cpuflags support for NEON and VFPJanne Grunau2014-01-15
| | | | | | | NEON and VFP are currently mandatory for all ARMv8 profiles. Both are handled as extensions as far as cpuflags are concerned. This is consistent with handling x86_64 which always has SSE2, but still handles it as an extension.
* dct-test: test ff_simple_idct_neon only on ARM for nowJanne Grunau2014-01-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mov: Free an earlier allocated array if allocating a new oneMartin Storsjö2014-01-15
| | | | | | | | | | | It could probably also be considered an error if the pointer isn't null at this point, but then we might risk rejecting some slightly broken files that we might have handled so far. Sample-Id: 00000496-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Free intermediate arrays in the normal cleanup functionMartin Storsjö2014-01-15
| | | | | | | | | | | | | These arrays are normally freed at the end of mov_read_trak, but make sure they're freed in case mov_read_trak returned early (due to errors) or in case the atoms that allocate arrays are encountered at some other point than within a trak (which we don't have checks against). Sample-Id: 00000496-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: bswap inline assemblyJanne Grunau2014-01-14
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* aarch64: configure: set arch dependent featuresJanne Grunau2014-01-14
| | | | | | | Stack is always 16 byte aligned and clz, 64bit operations and unaligned memory access are fast in aarch64 mode on ARMv8. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* cabac: remove leftovers from the cabac encoderJanne Grunau2014-01-14
| | | | | | The cabac encoder was only used by the removed cabac test. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxf: Fix potential leak in mxf_read_local_tags()Tomas Härdin2014-01-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Correctly support files from Pinnacle ThunderTomas Härdin2014-01-14
| | | | | | | | | | | | | | | | | | | | | | | | Such files have IndexTableSegments which when parsed cover EditUnit ranges like this: [0,1) [249,250) [249,377) [0,249) where each interval is [IndexStartPosition, IndexStartPosition + IndexDuration) This would be reduced to a sparse index like: [0,1), [249,250) instead of the full range: [0,249), [249,377) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Fix a possible leak of extradataMichael Niedermayer2014-01-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Use av_malloc_arrayLuca Barbato2014-01-14
|
* mxf: Drop unnecessary checksLuca Barbato2014-01-14
| | | | av_reallocp_array does the check already.
* mxf: Fix off by one error in d10 aes3 decodingMarton Balint2014-01-14
| | | | Without this fix the last sample was missing from the packet.
* mxf: Do not use int to check the seek positionLuca Barbato2014-01-14
| | | | | | Overly large files are to be expected. Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
* mxf: Set AV_FIELD_PROGRESSIVEReimar Döffinger2014-01-14
| | | | | | Needed for AVC-intra Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_yadif: Relicense from GPL to LGPLRobert Krüger2014-01-14
| | | | All copyright holders have agreed to the relicensing.
* x86: Consistently use cpu flag detection macros in places that still miss itDiego Biurrun2014-01-14
|
* arm: Use full filenames as multiple inclusion guardsDiego Biurrun2014-01-14
|
* lavf: make av_probe_input_buffer more robustAnton Khirnov2014-01-13
| | | | | | | Always use the actually read size as the offset instead of making possibly invalid assumptions. Addresses: CVE-2012-6618
* lavf: use a fixed width typeAnton Khirnov2014-01-13
| | | | It's shorter and more consistent with the rest of the code.
* lavf: simplify handling of offset in av_probe_input_buuffer()Anton Khirnov2014-01-13
|
* x86/arm: Add clobber tests to libavresampleMartin Storsjö2014-01-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Enable the interlaced B-frame codepath.Tim Walker2014-01-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vc1: Add avg_no_rnd_vc1_chroma_mc4_c()Michael Niedermayer2014-01-13
| | | | | | Needed for proper interlaced support. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vc1: Factorize out chroma MCLuca Barbato2014-01-13
|
* vc1dsp: K&R formatting cosmeticsLuca Barbato2014-01-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* flv: Workaround for buggy Omnia A/XE encoderBenjamin Larsson2014-01-11
| | | | | | | | | The Omnia A/XE encoder writes the explicit extra data incorrectly and wrongly disables parametric stereo. Truncating the extra data by setting the size to 2 works around this. The AAC extra data parser will then only parse the correct parts. Bug-id: 599