summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avresample: Reallocate the internal buffer to the correct sizeLuca Barbato2015-04-28
| | | | | | | | | | | | Fixes the corner case in which the internal buffer size is larger than input buffer provided and resizing it before moving the left over samples would make it write to now unallocated memory. Bug-Id: 825 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Update the PSI/SI table only if the version changeJohn Högberg2015-04-28
| | | | | | | | | | | | | | | | | | | | | | | | If a PAT is finished while a PMT section filter is opened but not yet finished, the PMT section filter is closed and all the received data is discarded. This is usually not an issue but some multiplexers (With very quick PAT/PMT repetition settings) consistently emit a PMT section start, then a PAT, and then the rest of the PMT, causing the aforementioned behavior to result in no PMT being finished. In the most pathologic situation the stream information are lost and the probe fallback miscategorizes subtitles as mp3 audio. Avoid the issue through eliminating redundant PSI/SI table updates by checking their version field, which is required by the standard to be incremented on every change no matter how minor. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h263: Convert function to macroVittorio Giovara2015-04-28
|
* h263: Drop commented-out code and a related otherwise unused functionVittorio Giovara2015-04-28
|
* jpeglsenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-28
| | | | Fixes a memory leak on init failure.
* jpeglsenc: Check memory allocationsVittorio Giovara2015-04-28
| | | | | Convert exisiting free functions to av_freep() to avoid accidental double frees, and always intialize all buffers to NULL.
* flacenc: Move a scratch buffer to struct used by the functionVittorio Giovara2015-04-28
| | | | | This avoids allocating/freeing memory at every function call, checking its return value, and carrying the error around.
* vaapi: Fix -Wimplicit-function-declaration for ff_dlog() usageRico Tzschichholz2015-04-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dss_sp: use lowercase codec name without whitespaceAndreas Cadhalpun2015-04-24
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* libxvid: Make codec use the init-cleanup flag and mark it as init-thread-safeVittorio Giovara2015-04-24
| | | | This takes care of memory leaks on init error.
* libx264: Make codec use the init-cleanup flag and mark it as init-thread-safeVittorio Giovara2015-04-24
| | | | This takes care of memory leaks on init error.
* lclenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* hqx: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* huffyuvenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* asvenc: Mark codec as init-thread-safe and init-cleanupVittorio Giovara2015-04-24
|
* hq_hqa: Fix table data for profile 17Vittorio Giovara2015-04-24
| | | | | | The table had a wrong table height and was missing the first line of bytes. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* riff: Add GMP4 fourcc for mpeg4Vittorio Giovara2015-04-24
|
* riff: Add GLV4 fourcc for mpeg4Vittorio Giovara2015-04-24
|
* internal: Make dlog/tlog a no-op when disabledVittorio Giovara2015-04-24
| | | | Improves Coverity analysis, avoiding "double semicolon" CIDs.
* rtsp: Make sure we don't write too many transport entries into a fixed-size ↵Martin Storsjö2015-04-24
| | | | | | | array CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_jpeg: Handle case of picture dimensions not dividing by 8Andrey Utkin2015-04-23
| | | | | | | This fixes the calculation of the number of needed blocks to make sure that ALL pixels are represented by the result. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Don't warn about unparsed time rangesMartin Storsjö2015-04-23
| | | | | | | | | | | | | | | | | | | This removes the error logging added in 4e54432164. This avoids warnings about "Invalid interval start specification 'now'" for live rtsp streams. We only try to parse some of the many valid values for time ranges in RTSP - the other ones are fully valid but not interesting for the use case in rtsp.c, so we shouldn't warn about them. (Parsing the time ranges is needed to allow seeking, but e.g. setting the current realtime clock for the start time doesn't make sense. av_parse_time has got a different mode for parsing absolute times as well, which can handle the special case "now", but that doesn't make much sense for this particular use in rtsp.c.) Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Fix test name for pixfmts testsTimothy Gu2015-04-23
| | | | | | | | | | | The last pixel format gets leaked as `$test` further down the pipeline. See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104 Note the odd test names like “yuvj444p.” CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* prores: Set the bits_per_coded_sample for alpha pix_fmtLuca Barbato2015-04-22
| | | | Improve the compatibility with other software.
* hq_hqa: Validate get_vlc2 return valueLuca Barbato2015-04-22
| | | | | The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1 as value.
* avcodec: Free the default avoptions on init failureLuca Barbato2015-04-22
|
* avcodec: Unref the dummy buffer on the fail pathLuca Barbato2015-04-22
|
* buffersrc: Use the correct deallocation functionFederico Tomassetti2015-04-22
| | | | | | This correction was suggested to me by Michael Niedermayer Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: Add an alpha optionLuca Barbato2015-04-21
| | | | | | And document both `draw` and `alpha`. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* log: Print a full backtrace along with error messages under ValgrindVittorio Giovara2015-04-20
| | | | | | | | Useful to understand where and in what execution state a certain message is generated. It is enabled only when optimizations are disabled, since function names are not printed otherwise. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hq_hqa: Fix reading hqa quantization matrix indexVittorio Giovara2015-04-20
| | | | Value is stored as a byte.
* hqxdsp.h: #include "stddef.h"Vittorio Giovara2015-04-20
| | | | It is required by ptrdiff_t, fixes make checkheaders.
* lavf: Fix variables constness in ff_iso8601_to_unix_time()Vittorio Giovara2015-04-20
| | | | | | warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
* h264_ps: Return meaningful error codes and address a memory leakVittorio Giovara2015-04-20
| | | | Bug-Id: CID 1026763
* ffv1: Pass correct pointers to av_free()Diego Biurrun2015-04-20
| | | | Bug-Id: CID 1295124
* fate: Omit the results if the test passedTimothy Gu2015-04-20
| | | | | | | The FATE server does not report this information anyway and omitting it makes the successful run send much less data. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rmenc: Drop the temporary buffer for ac3 byteswapLuca Barbato2015-04-20
| | | | | | Use direcly avio_w8(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ogg: Forward errors furtherLuca Barbato2015-04-20
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* flac: fix realloc loop with invalid flac filesThomas Guillem2015-04-20
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dashenc: Add a publishTime field in dynamic manifestsMartin Storsjö2015-04-20
| | | | | | This field is mandatory in dynamic manifests. Signed-off-by: Martin Storsjö <martin@martin.st>
* jack: Check memory allocationFederico Tomassetti2015-04-19
| | | | | Bug-Id: CID 1265785 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* buffersrc: Fix resource leak on errorFederico Tomassetti2015-04-19
| | | | | | Bug-Id: CID 1267902 CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avplay: Free frame and graph when memory allocation failsFederico Tomassetti2015-04-19
| | | | | Bug-Id: CID 1291564 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* g2meet: Support G2M5 codec variantEric Zimmerman2015-04-19
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* filtfmts: Avoid null pointer dereferenceHimangi Saraogi2015-04-19
|
* avutil: remove pointless bmi1 defineJames Almer2015-04-19
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* aacdec: consistently use avctx for logging in decode_eld_specific_configAndreas Cadhalpun2015-04-19
| | | | | | ac may be NULL and then accessing ac->avctx results in a segmentation fault. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* mpegvideo_enc: Simplify picture allocationVittorio Giovara2015-04-19
|
* motion_est: Fix warning from zero_cmp() assignmentVittorio Giovara2015-04-19
| | | | | | | | warning: incompatible pointer types assigning to 'me_cmp_func' (aka 'int (*)(struct MpegEncContext *, uint8_t *, uint8_t *, ptrdiff_t, int)') from 'int (MpegEncContext *, uint8_t *, uint8_t *, int, int)' [-Wincompatible-pointer-types]
* vc1_pred: Always initialize px and py in ff_vc1_pred_mv_intfr()Vittorio Giovara2015-04-19
| | | | Fix a rather lengthy initialization warning from clang.