- 30 Apr, 2015 1 commit
-
-
Luca Barbato authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 29 Apr, 2015 14 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It now has a fixed size and is initialized only once, so there is no point in allocating it separately.
-
Anton Khirnov authored
There is no real need to handle the init case specially, everything necessary is initialized in the reinit code as well.
-
Anton Khirnov authored
It is only used to decide whether to call free_tables(), but that function is safe to call on an uninitialized context as well.
-
Anton Khirnov authored
With frame threading, it is currently only updated in the context where the change occurs, but not in any other contexts.
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
It uses some fields from the SPS, which is not yet set where the reinit is called currently.
-
Anton Khirnov authored
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.
-
Anton Khirnov authored
It is only set, but never used for anything.
-
Anton Khirnov authored
It is not needed anymore since switching to refcounted frames.
-
- 28 Apr, 2015 7 commits
-
-
Luca Barbato authored
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>
-
John Högberg authored
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>
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Fixes a memory leak on init failure.
-
Vittorio Giovara authored
Convert exisiting free functions to av_freep() to avoid accidental double frees, and always intialize all buffers to NULL.
-
Vittorio Giovara authored
This avoids allocating/freeing memory at every function call, checking its return value, and carrying the error around.
-
- 25 Apr, 2015 1 commit
-
-
Rico Tzschichholz authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 24 Apr, 2015 12 commits
-
-
Andreas Cadhalpun authored
Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Vittorio Giovara authored
This takes care of memory leaks on init error.
-
Vittorio Giovara authored
This takes care of memory leaks on init error.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
The table had a wrong table height and was missing the first line of bytes. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Improves Coverity analysis, avoiding "double semicolon" CIDs.
-
Martin Storsjö authored
CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 23 Apr, 2015 3 commits
-
-
Andrey Utkin authored
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>
-
Martin Storsjö authored
This removes the error logging added in 4e544321. 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>
-
Timothy Gu authored
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>
-
- 22 Apr, 2015 2 commits
-
-
Luca Barbato authored
Improve the compatibility with other software.
-
Luca Barbato authored
The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1 as value.
-