summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avprobe: Support writing arrays of integers without keysMartin Storsjö2015-05-02
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Add an option for automatically rotating video according to display ↵Martin Storsjö2015-05-02
| | | | | | | | | | | matrix The option is enabled by default, but can be disabled. If this is enabled, such side data isn't copied into the output stream (except when doing stream copy). Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Add support for rotated videoMartin Storsjö2015-05-02
| | | | | | | | | This is enabled by default, but can be disbled via the -noautorotate option. Based on a patch by Clément Bœsch. Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Factorize code for adding filters to the filter pipelineMartin Storsjö2015-05-02
| | | | | | Significantly based on a patch by Clément Bœsch. Signed-off-by: Martin Storsjö <martin@martin.st>
* dnxhddec: Fix pixel format changeCarl Eugen Hoyos2015-05-01
| | | | | | Regression introduced in 598f7d046cbf306706623210c5baafa3b7cd1df3. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* ffv1enc: Add const attribute to input frameVittorio Giovara2015-05-01
| | | | | | warning: assigning to 'AVFrame *' (aka 'struct AVFrame *') from 'const AVFrame *' (aka 'const struct AVFrame *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
* avplay: Do not print a possibly uninitialized valueLuca Barbato2015-04-30
| | | | | | Initialize `diff` to 0. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* xcbgrab: Validate the capture areaLuca Barbato2015-04-30
| | | | | | And notify why the capture is impossible. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* xcbgrab: Do not assume the non shm image data is always availableLuca Barbato2015-04-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rawenc: properly allocate coded_frameAnton Khirnov2015-04-29
|
* h264: use properly allocated AVFramesAnton Khirnov2015-04-29
|
* h264: embed the DPB in the contextAnton Khirnov2015-04-29
| | | | | It now has a fixed size and is initialized only once, so there is no point in allocating it separately.
* h264: merge the init and reinit paths in update_thread_context()Anton Khirnov2015-04-29
| | | | | There is no real need to handle the init case specially, everything necessary is initialized in the reinit code as well.
* h264: drop the reinit parameter from init_slice_header()Anton Khirnov2015-04-29
| | | | | It is only used to decide whether to call free_tables(), but that function is safe to call on an uninitialized context as well.
* h264: update the current bit depth/chroma type in init_slice_header()Anton Khirnov2015-04-29
| | | | | With frame threading, it is currently only updated in the context where the change occurs, but not in any other contexts.
* h264: copy nal_length_size in update_thread_contextAnton Khirnov2015-04-29
| | | | | | It does not make sense to copy is_avc without copying this as well. This patch should not change anything for now, but will have an effect in later commits.
* h264: drop a comment that carries no useful informationAnton Khirnov2015-04-29
|
* h264: move freeing the escaped RBSP buffer to free_context()Anton Khirnov2015-04-29
| | | | | It does not logically belong in free_tables(), since it's not allocated in alloc_tables() and its size has nothing to do with the frame size.
* h264: eliminate ff_h264_set_parameter_from_sps()Anton Khirnov2015-04-29
| | | | | | | | | | | | | | That function currently does two things -- reinitializing the DSP contexts and setting low_delay based on the SPS values. The former more appropriately belongs in h264_slice_header_init(), while the latter only really makes sense in decode_slice_header(). The third call to ff_h264_set_parameter_from_sps(), done immediately after parsing a new SPS, appears to serve no useful purpose, so it is just dropped. Also, drop now unneeded H264Context.cur_chroma_format_idc.
* h264: move context reinit lower down in update_thread_context()Anton Khirnov2015-04-29
| | | | | It uses some fields from the SPS, which is not yet set where the reinit is called currently.
* h264: move the DPB init/uninit to init_context()/free_context()Anton Khirnov2015-04-29
| | | | | | | | | | Currently, the DPB is initialized in alloc_tables() and uninitialized in free_tables(), but those functions manage frame size-dependent variables, so DPB management does not logically belong in there. Since we want the init/uninit to happen exactly once per the context lifetime, init_context()/free_context() are the proper place for this code.
* h264: drop H264Context.ouputed_pocAnton Khirnov2015-04-29
| | | | It is only set, but never used for anything.
* h264: drop needs_reallocAnton Khirnov2015-04-29
| | | | It is not needed anymore since switching to refcounted frames.
* 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
|