summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* x86inc: Support arbitrary stack alignmentsHenrik Gramner2015-08-11
| | | | | | | | Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: warn if XOP integer FMA instruction emulation is impossibleAnton Mitrofanov2015-08-11
| | | | | | | | | | | Emulation requires a temporary register if arguments 1 and 4 are the same; this doesn't obey the semantics of the original instruction, so we can't emulate that in x86inc. Also add pmacsdql emulation. Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* checkasm: Remove unnecessary includeHenrik Gramner2015-08-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: dcadsp: Avoid SSE2 instructions in SSE functionsHenrik Gramner2015-08-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: Place the sidx index after the initial moov/mdat pairMartin Storsjö2015-08-10
| | | | | | | | | | For fragmented files with non-empty moov, with a fragment index (sidx), place the index after the initial moov/mdat pair. Previously, for this pathological case, the index was written at the start of the file. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Rename reserved_moov_pos to reserved_header_posMartin Storsjö2015-08-10
| | | | | | | The same field is also used for writing the sidx index header, for fragmented files, when the faststart flag is used. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Check that frag_info entries exist in mov_write_sidx_tagMartin Storsjö2015-08-10
| | | | | | | | | | | | | This fixes crashes with pathological cases when trying to write a sidx index (via the -movflags faststart option, in combination with fragmenting options), when no fragments actually have been written. (This is possible if the empty_moov flag isn't used, so that all actual packet data is written in the moov/mdat pair, and no moof/mdat pairs have been written.) In these pathological cases, no sidx should be written at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Drop spurious spaces from if clausesPaolo Bizzarri2015-08-08
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Do not print an error when the buffer has to be refilledLuca Barbato2015-08-06
| | | | Partially amends 9469370fb32679352e66826daf77bdd2e6f067b5
* h264: Use AVERROR return codes instead of -1Jake Sebastian-Jones2015-08-05
| | | | | | And report why it fails. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asf: Use time_t where neededLuca Barbato2015-08-04
| | | | gmtime takes a time_t not an uint64_t.
* asfdec: read values properlyAlexandra Hájková2015-08-04
| | | | | | | The length of BOOL values is 16 bits in the Metadata Object but 32 bits in the Extended Content Description Object. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Silence error messages when probing compilerShiz2015-08-04
| | | | | | | | | | | On Xcode's clang on OS X, $cc --version will output a 'Configured with:' line to stderr, which clobbers the configure script output. As this line serves no further purpose, it should be silenced. The same applies to apple-gcc 4.2.1, which complains that it can not understand the kernel version it is running on. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Move the strftime expansion in a separate functionLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Drop stray guardsLuca Barbato2015-08-02
| | | | | | There is a fallback for localtime_r and it is in use already. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* png: Be more informative regarding signature errorsLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* opusdec: properly handle mismatching configurations in multichannel streamsAnton Khirnov2015-08-02
| | | | | | | The substreams can have different resampling delays, so an additional level of buffering is needed to synchronize them. Bug-Id: 876
* asfdec: prevent the memory leak while reading metadataAlexandra Hájková2015-08-02
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: dct: Disable dct32_float_sse on x86-64Henrik Gramner2015-08-02
| | | | | | | There is an SSE2 implementation so the SSE version is never used. The "SSE" version also happens to contain SSE2 instructions on x86-64. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: Split the sei parsing in 3 functionsLuca Barbato2015-08-01
|
* hevc: Use switch instead of if-nests in decode_nal_sei_messageLuca Barbato2015-08-01
| | | | | | Makes simpler to add support for more SEI types. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Use a proper enum for the SEI valuesLuca Barbato2015-08-01
| | | | | | And use the correct value for decoded_picture_hash. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: h264: Extract decoder methodsDavid Holm2015-08-01
| | | | | | | | | | | Extract two methods from decode_registered_user_data in order to improve code readability. Also make the constant holding the allocation size a 64-bit unsigned integer so that the size comparison against INT_MAX makes sense. Bug-Id: CID1312090 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: remove improper assignement that caused wrong timestampsAlexandra Hájková2015-07-31
| | | | | | | | and remove unneeded variable Sample-Id: https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: do not export empty metadataAlexandra Hájková2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* des: extend av_des_init() doxyJames Almer2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* des: add av_des_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* xtea: add av_xtea_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rc4: extend av_rc4_init() doxyJames Almer2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rc4: add av_rc4_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* blowfish: add av_blowfish_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: free AVDictionaries properly when closing the demuxerAlexandra Hájková2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate/mp3: use the f32le format as outputAnton Khirnov2015-07-31
| | | | | Those tests test the float decoder, so it is preferable to dump the decoder output directly instead of converting it to s16.
* fate/mp3: specify the number of output samples instead of filesizeAnton Khirnov2015-07-31
| | | | This is not dependent on the output format.
* rtsp: Only interpret $ as interleaved packet indicator at the start of repliesMartin Storsjö2015-07-30
| | | | | | | | | | | | Allow $ as character anywhere within normal RTSP replies - both within the lines, and as the first character of RTSP header lines. (The existing old comment indicated that an inline packet could start at any line within a RTSP reply header, but that doesn't sound valid to me, and I'm not sure if the existing code handled that correctly either.) CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* hmac: add missing version bump and APIChanges entryJames Almer2015-07-30
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Save and forward avio optionsLuca Barbato2015-07-30
| | | | | | Make possible to send the custom headers and override the user agent. Reported-by: BenWonder
* http: Add the trailing endlines if they are missingLuca Barbato2015-07-30
| | | | | Makes slightly easier the life of those want to use the option from the command line
* checkasm: Include io.h for isatty, if availableMartin Storsjö2015-07-30
| | | | | | | | configure does check for isatty, and checkasm properly checks HAVE_ISATTY, but on some platforms (e.g. WinRT), io.h needs to be included for isatty to be available. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: free hmac context properlyJames Almer2015-07-30
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: use AVHMAC instead of a custom implementationJames Almer2015-07-29
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: add test vectors for HMAC SHA and SHA-2James Almer2015-07-29
| | | | | | | Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* hmac: add support for SHA-2James Almer2015-07-29
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't force _WIN32_WINNT to an older version if targeting ↵Martin Storsjö2015-07-28
| | | | | | | | | | | winphone/winrt This avoids having to manually set _WIN32_WINNT in --extra-cflags when targeting these API families, which only was necessary to work around configure setting _WIN32_WINNT to an older version by default. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600Martin Storsjö2015-07-28
| | | | | | | | | | | | | | | If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: fix AVDISCARD_NONKEY for some interlaced contentJohn Högberg2015-07-27
| | | | | | | | | When skip_frame is set to _NONKEY the decoder skips everything except intra slices, which breaks frames that consist of an intra field together with any other field type; half the frame becomes garbage. This patch fixes the issue by letting non-intra slices through if they're part of a keyframe. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* asfdec: do not align Data Object when Broadcast Flag is setAlexandra Hájková2015-07-27
| | | | | | its size is invalid in this case Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsvdec_mpeg2: drop an incorrect commentAnton Khirnov2015-07-27
| | | | It got copypasted from the h264 decoder, but it does not apply to mpeg2.
* fate: Add hap-chunk ref fileVittorio Giovara2015-07-27
| | | | Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.
* hap: Add utility functions fileVittorio Giovara2015-07-27
| | | | Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.