summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Revert "Merge commit '8e97a8c69162afce47abea96c8c0914f3550e212'"James Almer2017-11-11
| | | | | | | This reverts commit 1a4315f24d2c5857ebeb379fe39f0124746ee30a, reversing changes made to 869401cefc22e221edbf135bacaa1f21014fd001. At least one distro (Arch) ships gsm.h inside the gsm/ folder
* Merge commit '732510636e597585a79be7d111c88b3f7e174fe7'James Almer2017-11-11
|\ | | | | | | | | | | | | * commit '732510636e597585a79be7d111c88b3f7e174fe7': aarch64: Remove a dot from a label Merged-by: James Almer <jamrial@gmail.com>
| * aarch64: Remove a dot from a labelMartin Storsjö2017-10-18
| | | | | | | | | | | | This fixes building with armasm64 (when run through gas-preprocessor). Signed-off-by: Martin Storsjö <martin@martin.st>
| * mss1: Add missing macro parameters to ARITH_GET_* macrosDiego Biurrun2017-10-16
| | | | | | | | | | It is wrong to pass no arguments to a macro that expects one argument and some compilers complain.
* | Merge commit '077011b5af2b3150efc52a9b58f5ef9bb0235087'James Almer2017-11-11
|\| | | | | | | | | | | | | | | | | * commit '077011b5af2b3150efc52a9b58f5ef9bb0235087': qsv: Expose idr_interval for hevc as well Also includes 98afe3fb71afd4a18009924aaba56bc577bbd400. Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Expose idr_interval for hevc as wellLuca Barbato2017-10-14
| |
| * pictor: Correctly check frame dimensionsMichael Niedermayer2017-10-12
| | | | | | | | | | | | | | | | | | | | | | Fixes: 559/clusterfuzz-testcase-6424225917173760 Bug-Id: CVE-2017-7862 CC: libav-stable@libav.org Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 8c2ea3030af7b40a3c4275696fb5c76cdb80950a) Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '8e97a8c69162afce47abea96c8c0914f3550e212'James Almer2017-11-11
|\| | | | | | | | | | | | | | | | | * commit '8e97a8c69162afce47abea96c8c0914f3550e212': build: Remove check for gsm/gsm.h for libgsm Also includes fix from 010baac12a14d684a1ae72f6b7509e642c40f3b3 Merged-by: James Almer <jamrial@gmail.com>
| * build: Remove check for gsm/gsm.h for libgsmDiego Biurrun2017-10-10
| | | | | | | | | | | | libgsm never installed more than a single header, the headers installed into the gsm/ subdirectory by some distros are private. Who started this nonsense is a mystery, but it got cargo-culted around ever since.
| * build: Drop explicit check for dlfcn.hDiego Biurrun2017-10-10
| | | | | | | | It is detected as a part of the libdl check.
* | Merge commit '09c98327b9f25c6c1716c0ee82ce09d8b484887a'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit '09c98327b9f25c6c1716c0ee82ce09d8b484887a': build: Drop support for Tru64 Unix (OSF/1) Merged-by: James Almer <jamrial@gmail.com>
| * configure: rename hevc_ps to hevcparseJames Almer2017-10-10
| | | | | | | | | | | | | | Build h2645_parse.o with it, as every hevc_ps dependency also needs it. This is more in line with h264's h264parse module. Signed-off-by: James Almer <jamrial@gmail.com>
| * extract_extradata: return an error when buffer allocation failsJames Almer2017-10-09
| | | | | | | | | | | | | | ret is 0 by default. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * cinepakenc: Move declaration out of for initialisation statementMark Thompson2017-09-27
| |
| * hapdec: Delete include for nonexistent fileMark Thompson2017-09-27
| | | | | | | | | | It exists as an alias for string.h in most C libraries, so usually this line is harmless.
| * hevc: Fix aligned array declarationsMark Thompson2017-09-27
| |
* | Merge commit 'ea25ccd1b2a980df8d43cc1f86a23e3c094090a6'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit 'ea25ccd1b2a980df8d43cc1f86a23e3c094090a6': qsv: Join the derived session to the parent Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Join the derived session to the parentLuca Barbato2017-09-27
| | | | | | | | | | Should improve the performance on multiple transcoding from a single source.
| * cbs_h264: Fix writing streams with auxiliary picturesMark Thompson2017-09-25
| | | | | | | | Tested with the alphaconformanceG sample.
| * vaapi_mpeg2: Convert to use coded bitstream infrastructureMark Thompson2017-09-12
| |
| * mpeg12: Move finding the best frame rate to common codeMark Thompson2017-09-12
| | | | | | | | Previously in the mpeg2_metadata filter. Also adds a test.
| * cbs_mpeg2: Add support for picture display extensionMark Thompson2017-09-12
| |
| * cbs_h265: Fix ranges of prediction weight offsetsMark Thompson2017-09-12
| | | | | | | | | | | | The bracketing was wrong - '-' binds before '<<'. This would previously incorrectly reject the streams in the WP_A and WP_B conformance tests.
| * cbs_h265: Fix reading of unknown parameter set extension dataMark Thompson2017-09-12
| |
| * vaapi_h264: Fix CPB/DPB delaysMark Thompson2017-09-12
| | | | | | | | | | This should be ticks, not time_scale steps - it was wrong for all framerates not a multiple of 1/2.
* | Merge commit 'f940c859c23ae201b0170cf541ea8f6b7a52dd49'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit 'f940c859c23ae201b0170cf541ea8f6b7a52dd49': Revert "vaapi_h265: Reduce the amount of padding in the stream" Merged-by: James Almer <jamrial@gmail.com>
| * Revert "vaapi_h265: Reduce the amount of padding in the stream"Mark Thompson2017-09-12
| | | | | | | | | | | | | | This reverts commit a14a12ca137bf1526452b97bedfc9f7b301d4e04. The CTU size is always 32x32; the surface size is what actually sets the desired property, and it is already correct.
| * h264_metadata: Fix double-freeMark Thompson2017-09-12
| | | | | | | | | | | | Whether the udu string should be freed depends on whether the SEI it gets added to was created internally by cbs or externally by the bsf. The current code frees it twice in the former case.
| * cbs: Add buffer padding when splitting fragmentsMark Thompson2017-09-12
| | | | | | | | Remove any trailing zeroes from H.26[45] NAL units at the same time.
| * cbs: Always check for bitstream end before readingMark Thompson2017-09-12
| |
* | Merge commit 'b05128f3c953bd66483e697d60a2e7e45ee9cfa0'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit 'b05128f3c953bd66483e697d60a2e7e45ee9cfa0': qsv: Load the hw hevc plugin by default on Linux Merged-by: James Almer <jamrial@gmail.com>
| * qsv: Load the hw hevc plugin by default on LinuxLuca Barbato2017-09-11
| | | | | | | | | | | | Only on Windows the software plugin is available. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '9dde6ab06c48f9447cd16f39bee33569cddb7be4'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit '9dde6ab06c48f9447cd16f39bee33569cddb7be4': arm: Fix SIGBUS on ARM when compiled with binutils 2.29 Merged-by: James Almer <jamrial@gmail.com>
| * arm: Fix SIGBUS on ARM when compiled with binutils 2.29Martin Storsjö2017-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In binutils 2.29, the behavior of the ADR instruction changed so that 1 is added to the address of a Thumb function (previously nothing was added). This allows the loaded address to be passed to a BLX instruction and the correct mode change will occur. See: https://sourceware.org/bugzilla/show_bug.cgi?id=21458 By using adr with a label that isn't annotated as a thumb function, we avoid the new behaviour in binutils 2.29 and get the same behaviour as in prior releases, and as in other assemblers (ms armasm.exe, clang's built in assembler) - an idea that Janne Grunau came up with. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'accb06120c13a4ead442464d96f2fa318fa07a4e'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit 'accb06120c13a4ead442464d96f2fa318fa07a4e': configure: Use dllexport/dllimport for data symbols across DLLs with mingw Merged-by: James Almer <jamrial@gmail.com>
| * configure: Use dllexport/dllimport for data symbols across DLLs with mingwMartin Storsjö2017-08-31
| | | | | | | | | | | | | | | | | | | | | | This avoids having to use pseudo relocations. The version script used for exporting functions is skipped as soon as the set of object files contains symbols marked with dllexport, therefore we need to use makedef to produce the full list of symbols to be exported. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'abf1c058d1bd0ed1b820ea5e501a4484756f00b0'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit 'abf1c058d1bd0ed1b820ea5e501a4484756f00b0': msvc: Properly specify dllexport for data symbols shared across dll boundaries Merged-by: James Almer <jamrial@gmail.com>
| * msvc: Properly specify dllexport for data symbols shared across dll boundariesMartin Storsjö2017-08-31
| | | | | | | | | | | | | | | | | | We currently only have exported data symbols within libavcodec, but the concept is easy to extend to other libraries if necessary. The attribute declaration needs to be in a private header though, since we can't use CONFIG_SHARED in public installed headers. Signed-off-by: Martin Storsjö <martin@martin.st>
| * png: Support RGBA64 pixel formatLuca Barbato2017-08-21
| |
* | wmavoice: free frame before ff_get_bufferTimo Rothenpieler2017-11-11
| | | | | | | | | | | | synth_superframe can be called twice per call to decode_packet. It is not fully clear if calling ff_get_buffer on the same frame twice is supported, so unref the frame first to be save.
* | avcodec/decode: always free private_refTimo Rothenpieler2017-11-11
| | | | | | | | | | | | There is no reason to keep this intact when decoding failed, specially as private_ref is supposed to always be NULL when a frame is returned to the user.
* | avcodec: fix wrong duration of packets (dvd, bluray)Aleksandr Slobodeniuk2017-11-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '9f5b77c16f4da6248b57f0601364d9c762c620c2'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit '9f5b77c16f4da6248b57f0601364d9c762c620c2': png: Report more details regarding unsupported pixel formats Merged-by: James Almer <jamrial@gmail.com>
| * png: Report more details regarding unsupported pixel formatsLuca Barbato2017-08-21
| |
* | avcodec/dnxhddata: remove dead codeJames Almer2017-11-11
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mpegaudiodecheader: remove dead codeJames Almer2017-11-11
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '4c0588b4562abad5540f6a5435c62828de9e4fdf'James Almer2017-11-11
|\| | | | | | | | | | | | | * commit '4c0588b4562abad5540f6a5435c62828de9e4fdf': mpeg2enc: Don't mark all streams as component video Merged-by: James Almer <jamrial@gmail.com>
| * mpeg2enc: Don't mark all streams as component videoMark Thompson2017-08-20
| | | | | | | | | | | | | | | | Since there is no information about the source format, "unspecified" is the correct value to write here. All tests using the MPEG-2 encoder are updated, as this changes the header on all outputs.
| * lavc: Add mpeg2_metadata bitstream filterMark Thompson2017-08-20
| |
| * lavc: Add coded bitstream read/write support for MPEG-2Mark Thompson2017-08-20
| | | | | | | | Also enable MPEG-2 support in the trace_headers filter.