summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | Merge commit '55b59fab880a9fcdd30f97c5170af282087ac4f7'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '55b59fab880a9fcdd30f97c5170af282087ac4f7': roqaudio: Always use the frame buffer on flush Conflicts: libavcodec/roqaudioenc.c See: a1af505d6640a89401f8e9941a38352a1ca49d58 See: c0b17ea106b94f79255f81ec36ea50096e1ae985 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * roqaudio: Always use the frame buffer on flushMichael Niedermayer2014-11-24
| | | | | | | | | | | | | | | | Prevent NULL dereference. CC: libav-stable@libav.org Bug-Id: CID 703669 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '0562887a984388fdc7a9b71c9374ff9c756fb4f1'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | | | | | | | * commit '0562887a984388fdc7a9b71c9374ff9c756fb4f1': tiffenc: initialize return value Conflicts: libavcodec/tiffenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tiffenc: initialize return valueVittorio Giovara2014-11-24
| | | | | | | | | | | | | | | | | | 'ret' can only be used without initialization if s->height <= 0, which can only happen if avctx->height <= 0, which is validated elsewhere. Doesn't hurt to still initialize it though. CC: libav-stable@libav.org Bug-Id: CID 732296
* | Merge commit '299d8ab104fb350254eb2e6d9ecdce892a2a55b1'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | | | * commit '299d8ab104fb350254eb2e6d9ecdce892a2a55b1': cook: Make sure there is enough extradata See: c9e455432988acd414990ba92f782b8e3c4b6aea Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cook: Make sure there is enough extradataLuca Barbato2014-11-24
| | | | | | | | | | | | | | At least 8 bytes are needed (Mono audio). Bug-Id: CID 741418 CC: libav-stable@libav.org
| * aacdec: avoid an out-of-bounds writeVittorio Giovara2014-11-24
| | | | | | | | | | | | | | Also move the check in the case it is actually used. CC: libav-stable@libav.org Bug-Id: CID 1087090
* | Merge commit '277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | | | | | | | | | * commit '277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2': lavu: move internal define to the only places where it is used Conflicts: libavcodec/h264_cabac.c libavutil/internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: move internal define to the only places where it is usedVittorio Giovara2014-11-24
| |
* | Merge commit '9c12c6ff9539e926df0b2a2299e915ae71872600'Michael Niedermayer2014-11-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '9c12c6ff9539e926df0b2a2299e915ae71872600': motion_est: convert stride to ptrdiff_t Conflicts: libavcodec/me_cmp.c libavcodec/ppc/me_cmp.c libavcodec/x86/me_cmp_init.c See: 9c669672c7fd45ef1cad782ab551be438ceac6cd Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * motion_est: convert stride to ptrdiff_tVittorio Giovara2014-11-24
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 700556 / CID 700557 / CID 700558
* | lavc/huffyuvdec: fix mem leak in case of init failureLukasz Marek2014-11-24
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/smvjpegdec: fix mem leak in case of init failureLukasz Marek2014-11-24
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/libxvid: fix mem leak in case of init failureLukasz Marek2014-11-24
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/rv30: fix mem leak in case of init failureLukasz Marek2014-11-23
| | | | | | | | | | | | Also replaced return -1 with return AVERROR(EINVAL) Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/mss1: fix mem leak in case of init failureLukasz Marek2014-11-23
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Fix standalone compilation of the apng decoder on x86.Carl Eugen Hoyos2014-11-23
| |
* | avcodec/microdvddec: support non persistent italic marker '/'Clément Bœsch2014-11-23
| | | | | | | | | | | | Inspired from a patch by Michal Wazgird <mplayer@cyryl.net> See https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2014-November/072772.html
* | avcodec/microdvddec: support various broken form of color tagsClément Bœsch2014-11-23
| | | | | | | | | | | | Inspired by a patch from Michal Wazgird <mplayer@cyryl.net> See https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2014-November/072772.html
* | xface: reduce stack usage by directly storing 2 bytes data instead of pointers.Reimar Döffinger2014-11-23
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | xface: reduce table sizes.Reimar Döffinger2014-11-23
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | xface: Fix encoder crashes due to too small on-stack array.Reimar Döffinger2014-11-23
| | | | | | | | | | | | Also add a FATE test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | svq1enc: reduce stack usage of recursively-called function.Reimar Döffinger2014-11-23
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lpc: Reduce stack usage by allocating LLSModel in context.Reimar Döffinger2014-11-23
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavc/libvorbisdec: use better error codesLukasz Marek2014-11-23
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/libvorbisdec: fix mem leak in case of init failureLukasz Marek2014-11-23
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/smacker: fix mem leak in case of init failureLukasz Marek2014-11-23
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavc/anm: fix mem leak in case of init failureLukasz Marek2014-11-23
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | avcodec/x86/Makefile: fix orderMichael Niedermayer2014-11-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/tiff: Fix static linking of lzma with msvc.Matthew Oliver2014-11-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/lossless_audiodsp: fix fallback code for 32bitMichael Niedermayer2014-11-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wmalosslessdec: support 24bit losslessMichael Niedermayer2014-11-22
| | | | | | | | | | | | | | Not checked if its actually lossless Fixes Ticket1847 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/lossless_audiodsp: support len %16 == 8 in ↵Michael Niedermayer2014-11-22
| | | | | | | | | | | | scalarproduct_and_madd_int16() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mjpegdec: fix pixfmtid 0x14111100Michael Niedermayer2014-11-22
| | | | | | | | | | Fixes part of Ticket 2004 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1dec: Avoid unnecessarily large stack usage and copies.Reimar Döffinger2014-11-22
| | | | | | | | | | | | | | | | | | | | Ideally the compiler could figure this out on its own, but it seems it can't. An alternative that would avoid the messy explicit memcpy would be to use a sub-struct for the parts that should be preserved, which can then simply be assigned. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avcodec/libspeexdec: make array constMichael Niedermayer2014-11-22
| | | | | | | | | | Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_mb: Use smaller data type for refs in await_references.Reimar Döffinger2014-11-22
| | | | | | | | | | | | | | | | | | | | As far as I can tell the value can never go outside the int16_t type. And especially the cost of the initialization is reduced quite a bit by making it smaller. Overall decoding speedup not measurable though. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | h264_i386: Optimize decode_significance_8x8_x86 for 64 bit.Reimar Döffinger2014-11-22
| | | | | | | | | | | | | | 11674 -> 10877 decicycles on my Phenom II. Overall speedup was unfortunately within measurement error. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | indeo2: move variable declarations into blocks using them.Reimar Döffinger2014-11-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit 'cd975d5658a1cbe99939df75db59d5ae9fbcb4e0'Michael Niedermayer2014-11-22
|\| | | | | | | | | | | | | | | | | | | * commit 'cd975d5658a1cbe99939df75db59d5ae9fbcb4e0': hevc: Spin the mv_mpv_mode calls in a stand alone function Conflicts: libavcodec/hevc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: Spin the mv_mpv_mode calls in a stand alone functionLuca Barbato2014-11-21
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * qdm2: avoid integer overflowVittorio Giovara2014-11-21
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 700555
* | Merge commit '312daa15891dc7abb77a404fe927d5ee35c52a71'Michael Niedermayer2014-11-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '312daa15891dc7abb77a404fe927d5ee35c52a71': vp9: Use the correct upper bound for seg_id Conflicts: libavcodec/vp9.h libavcodec/vp9block.c Not merged, the value was correct before as far as i can see Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp9: Use the correct upper bound for seg_idLuca Barbato2014-11-21
| | | | | | | | | | | | And use a macro to make apparent why the value. Bug-Id: CID 1108595
* | Merge commit 'd466d82faaf6e0e57a3a4be5e38e3902ef251ac3'Michael Niedermayer2014-11-21
|\| | | | | | | | | | | | | | | | | | | | | * commit 'd466d82faaf6e0e57a3a4be5e38e3902ef251ac3': dvdsubdec: Do not leak on failure path Conflicts: libavcodec/dvdsubdec.c See: 7fa9f7ef1c2f0cee81ec6ea6a4ff10af4c4fc62c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dvdsubdec: Do not leak on failure pathLuca Barbato2014-11-21
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1198262
| * libtwolame: prevent a NULL pointer dereferenceVittorio Giovara2014-11-21
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1250330 / CID 1250335
| * lavc: Move the libtwolame encoder registration to the list for external ↵Martin Storsjö2014-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | libraries This makes sure the default behaviour of using the internal encoder stays the same regardless if libtwolame is enabled or not (as for any external library). This fixes fate-lavf-mpg if libav is built with libtwolame enabled. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/libspeexdec: more verbose error messageMichael Niedermayer2014-11-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libspeexdec: support zygoaudioMichael Niedermayer2014-11-21
| | | | | | | | | | | | Fixes Ticket1873 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>