summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mpjpegdec: don't try to alloc an AVIOContext when probe is guaranteed to failJames Almer2015-06-09
| | | | | | | The first check is done without the AVIOContext, so alloc it only if said check succeeds Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* imc: add required padding for GetBitContext bufferJanne Grunau2015-06-09
| | | | | | | Fixes stack buffer overflow errors detected by address sanitizer in fate-imc. CC: libav-stable@libav.org
* ac3_parser: add required padding for GetBitContext bufferJanne Grunau2015-06-09
| | | | | | | Fixes stack buffer overflow errors detected by address sanitizer in various fate tests. CC: libav-stable@libav.org
* aac_parser: add required padding for GetBitContext bufferJanne Grunau2015-06-09
| | | | | | | Fixes stack buffer overflow errors detected by address sanitizer in various fate tests. CC: libav-stable@libav.org
* rtpdec_asf: Check memory allocation and free memory on errorVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1257774
* mov: Check memory allocationVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1292518
* jack: Check memory allocationVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1292520
* audiointerleave: Always initialize new_pktVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 609333
* sctp: Always initialize outmsg structVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1302711
* mpjpgdec: free AVIOContext leak on early probe failJanne Grunau2015-06-08
|
* mpegvideo: Move OutFormat enum to mpegutils.hVittorio Giovara2015-06-08
| | | | It is necessary to avoid circular header dependencies.
* mpegvideo: Split picture allocation for encoding and decodingVittorio Giovara2015-06-08
| | | | | | | | | The main ff_alloc_picture() function is made more generic with all the parameters necessary as arguments. This will allows to move most of the related functions to a separate file later. Right now wrappers are provided to try and minimize the number of changes in the code.
* mpegvideo: Rework frame_size_alloc functionVittorio Giovara2015-06-08
| | | | | Use more generic arguments and remove its static attribute since it will be moved to a separate file.
* mpegvideo: Move various temporary buffers to a separate contextVittorio Giovara2015-06-08
|
* configure: Support MSVC 2015Luca Barbato2015-06-08
| | | | | | | | | | | The C runtime C99 compatibility had been improved a lot and it now rejects some of the compatibility defines provided for the older versions. Many thanks to Ray for the time spent testing. Bug-Id: 864 CC: libav-stable@libav.org
* aac: Wait to know the channels before allocating frameLuca Barbato2015-06-07
| | | | | | | | The channel configuration can be delivered only by the PCE, try to parse it first and not try to decode until a channel configuration is set. CC: libav-stable@libav.org
* aac: Support channel configurations 11 and 12Sebastian Dröge2015-06-07
| | | | | | | | | | | These are defined in ISO/IEC 14496-3:2009/PDAM 4 for 6.1 and 7.1. It also defines another 7.1 layout with configuration 14, that one is not added here for now. 11: 3/3.1 FC FL+FR BL+BR BC LFE 12: 3/2/2.1 FC FL+FR SiL+SiR BL+BR LFE Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: correctly map 7.1ch-wide AAC from FDK AAC encodernu7742015-06-07
| | | | | | | | | | FDK AAC encoder outputs SCE(front)+CPE(front)+CPE(back)+CPE(back) on MODE_7_1_REAR_SURROUND configuration. Since decoder couldn't properly map 4 back channels, decoding failed unless -request_channel_layout 0x8000000000000000 has been specified. Now we treat first CPE(back) as CPE(side) on channel mapping. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: Add avio_put_str16beLuca Barbato2015-06-07
|
* mpjpeg: Initial implementationLuca Barbato2015-06-07
| | | | | | Support only streams with Content-Length. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aac: Correctly map multichannel ADTS AAC with non-zero channel_config + PCEnu7742015-06-03
| | | | | | | | | | | | | | | The decoder assigns channels using default channel configuration for 5.1ch when it parses an ADTS frame header using consecutive channel ids. When a PCE comes, it reassigns channels using PCE configuration using directly the ids provided. They can be arbitrary. Always use consecutive channel ids to avoid decoding glitches due spurious reconfigurations due the channel ids mismatch between the two otherwise-identical channel maps. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* bink: Factorize bink put_pixelLuca Barbato2015-06-03
| | | | | | | | And make sure to check INTER_BLOCK as had been fixed by Michael Niedermayer. Reported-By: Andreas Cadhalpun CC: libav-stable@libav.org
* configure: Check for DXVA2_ConfigPictureDecode instead of LPDIRECT3DSURFACE9Martin Storsjö2015-06-03
| | | | | | Checking this struct is a bit more natural for this dependency. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Remove unnecessary tests for d3d11vaMartin Storsjö2015-06-03
| | | | | | | | These are only necessary once/if avconv gets support for this hwaccel. While that obviously is desireable, we don't have it yet, and they currently only are a distraction. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't run "export $e" for an empty stringMartin Storsjö2015-06-03
| | | | | | | This fixes the side effect of printing the whole environment, if no --env parameter was provided. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: don't enable tls protocols if network is disabledJames Almer2015-06-02
| | | | | | | This was a regression introduced with d8ffb2055f0e0fcb5d025bab72eb19c2a886c125. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Use pkg-config for fdk-aacLuca Barbato2015-06-02
| | | | Makes the life of the people already setting PKG_CONFIG_PATH simpler.
* configure: Provide an option to override the environmentLuca Barbato2015-06-02
| | | | | | Useful to have `make config` work with custom pkgconf path. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Support the extended pkgconf syntaxLuca Barbato2015-06-02
| | | | | | | Make possible to require a combination of packages and/or pin specific versions. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Remove some unnecessary exported config itemsMartin Storsjö2015-06-01
| | | | | | | | The only need to be listed if they are to be used in ifdefs from within the code - config items used as dependencies only within configure don't need to be exported. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Require LPDIRECT3DSURFACE9 for dxva2Martin Storsjö2015-06-01
| | | | | | | | | | | | | | | | This fixes dxva2 detection (i.e. correctly realizes that it isn't available) for WinRT, where dxva2api.h does exist, but these definitions are omitted (when targeting the API subsets). Ideally we should rather check for e.g. DXVA2_ConfigPictureDecode, but configure might fail to find that definition due to _WIN32_WINNT not being set to the right value during configure. (libavcodec/dxva2.h manually overrides the _WIN32_WINNT define.) This allows removing hardcoded --disable-dxva2 from such build configurations. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2: Add ifdefs around structs that might not be availableMartin Storsjö2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2: Fix build when only D3D11 or DXVA2 is usedSteve Lhomme2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check if ID3D11VideoDecoder exists, not just the header to enable ↵Steve Lhomme2015-06-01
| | | | | | | | | d3d11va Fixes build with some mingw-w64 versions, that have got the header but not the interface declaration. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Fix HWACCEL_MAX for D3D11Michael Niedermayer2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hevc: Fix HWACCEL_MAX for D3D11Michael Niedermayer2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Use GMP functions directly, instead of nettle wrappersMartin Storsjö2015-06-01
| | | | | | | | | mpz_import and mpz_export were added in GMP 4.1, in 2002. This simplifies the DH code by clarifying that it only uses pure bignum functions, no other parts of nettle/hogweed. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Fix the indentation in a structMartin Storsjö2015-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* nvenc: H264 and HEVC encodersLuca Barbato2015-05-31
| | | | | | Partially based on the work of Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* xsub: Check memory allocationVittorio Giovara2015-05-31
|
* wma: Check memory allocationVittorio Giovara2015-05-31
|
* truemotion2: Check memory allocationVittorio Giovara2015-05-31
|
* svq1: Check memory allocationVittorio Giovara2015-05-31
|
* ratecontrol: Check memory allocationVittorio Giovara2015-05-31
|
* pthread: Check memory allocationVittorio Giovara2015-05-31
|
* psymodel: Check memory allocationVittorio Giovara2015-05-31
|
* xvid: Check memory allocationVittorio Giovara2015-05-31
|
* x264: Check memory allocationVittorio Giovara2015-05-31
|
* libtheora: Check memory allocationVittorio Giovara2015-05-31
|
* lcl: Check memory allocationVittorio Giovara2015-05-31
|