summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* qdm2: use init_static_dataLuca Barbato2013-07-07
|
* westwood_vqa: do not free extradata on error in read_headerLuca Barbato2013-07-07
| | | | | | | | The extradata is already freed by avformat_open_input on failure. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vqavideo: check the versionLuca Barbato2013-07-07
| | | | | | | Prevent out of buffer write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cmdutils: wrap exit explicitlyLuca Barbato2013-07-07
| | | | | | | | | | Some C runtime implementations deadlock when calling threading functions on the atexit() handler. Use a simpler wrapper similar to av_log to call the cleanup function before exit. Bug-Id: 523
* movenc: K&R formatting cosmeticsMartin Storsjö2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Makefile: Remove stray tabsMichael Niedermayer2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8: Wait for prev_frame to parse segment_map before reading itRonald S. Bultje2013-07-07
| | | | | | | This fixes occasional failures of vp8-test-vector-010 with frame-level multithreading enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: Correctly round chroma up for odd luma sizesRonald S. Bultje2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rmdec: Use the AVIOContext given as parameter in rm_read_metadata()Michael Niedermayer2013-07-07
| | | | | | | | | | | | | | | This fixes crashes when playing back certain RealRTSP streams. When invoked from the RTP depacketizer, the full realmedia demuxer isn't invoked, but only certain functions from it, where a separate AVIOContext is passed in as parameter (for the buffer containing the data to parse). The functions called from within those entry points should only be using that parameter, not s->pb. In the depacketizer case, s is the RTSP context, where ->pb is null. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Handle AVERROR_EOF in the same way as the return value 0Michael Niedermayer2013-07-07
| | | | | | | | | This makes sure the ffurl_read_complete function actually returns the number of bytes read, as the documentation of the function says, even if the underlying protocol uses AVERROR_EOF instead of 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* wtv: Mark attachment with a negative stream idLuca Barbato2013-07-07
| | | | | | | | | A sid 0 would be mismatched to the attachment. Prevent NULL pointer dereference. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avprobe: rename the prettyprint structuresLuca Barbato2013-07-07
|
* tools: Wording and formatting cosmeticsDiego Biurrun2013-07-06
|
* tests: Only run noproxy test if networking is enabledDiego Biurrun2013-07-06
|
* fifo: K&R formatting cosmeticsLuca Barbato2013-07-06
|
* kmvc: Clip pixel position to valid rangeLuca Barbato2013-07-06
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* kmvc: use fixed sized arrays in the contextLuca Barbato2013-07-06
| | | | | Avoid some boilerplate code to dynamically allocate and then free the buffers.
* bitstream_filter: K&R formatting cosmeticsLuca Barbato2013-07-05
|
* compat: wrap math.h to avoid AIX-specific clashesLuca Barbato2013-07-04
| | | | | AIX defines a class() function in its math.h header without any guard.
* log: pass the correct parameters to missing_feature_sampleLuca Barbato2013-07-04
| | | | CC:libav-stable@libav.org
* indeo: reject negative array indexesLuca Barbato2013-07-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: Cosmetic formattingLuca Barbato2013-07-04
| | | | Trim some overly long lines.
* indeo: Refactor ff_ivi_init_tiles and ivi_decode_blocksLuca Barbato2013-07-04
| | | | | Spin large and mostly self contained blocks into stand alone functions.
* indeo: Refactor ff_ivi_dec_huff_descLuca Barbato2013-07-04
| | | | Spare an indentation level.
* indeo: use a typedef for the mc function pointerLuca Barbato2013-07-04
|
* cabac: x86 version of get_cabac_bypassJason Garrett-Glaser2013-07-04
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aic: use chroma scan tables while decoding luma component in progressive modeKostya Shishkov2013-07-04
| | | | | | For some unclear reason Apple decided to use the same scan tables for luma and chroma in the progressive mode while using different ones for luma in the interlaced mode.
* jpeg2000: Use the matching coding style struct for transform selectionMichael Niedermayer2013-07-02
| | | | | | | | Fixes a null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Merge rescaling with interleaving in 9/7 IDWTMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Optimize output sample conversionMichael Niedermayer2013-07-02
| | | | | | | | 67935 -> 29984 kcycles Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Reset s->numX/Ytiles on tile deallocationMichael Niedermayer2013-07-02
| | | | | | Keep the structure fields more consistent after cleanup. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Optimize dequantizationMichael Niedermayer2013-07-02
| | | | | | | | | Float: 4700 -> 2700 cycles Integer: 4400 -> 2800 cycles (sandybridge i7) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Do not assume a single tileMichael Niedermayer2013-07-02
| | | | | | In preparation of supporting multiple tiles. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Speed up jpeg2000_decode_tile()Michael Niedermayer2013-07-02
| | | | | | Skip processing bands with dimension set to 0. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use EBCOT's CAUSAL and BYPASS mode in decode_cblk()Michael Niedermayer2013-07-02
| | | | | | Speed it up a bit. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Simplify jpeg2000_decode_packets()Michael Niedermayer2013-07-02
| | | | | | | | Raise PATCHWELCOME error in case of non-implemented progression order. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Do not crash on NULL node in tag_tree_decodeMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Refactor SOT marker parsingMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Proper cleanup on failure in decode_frame()Luca Barbato2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use the correct sizeof in memset for T1 dataMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Simplify init_tile()Michael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Update pixel format supportMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Compute corrections of sub-band coordinatesMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Remove unneeded variable initializationMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Use separate fields for int and float codepathsMichael Niedermayer2013-07-02
| | | | | | | Split stepsize and data into int and float variants. Eliminates a number of casts and simplifies spotting errors. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Split int/float codepaths depending on the DWTMichael Niedermayer2013-07-02
| | | | | | DWT53 is always int, DWT97 is always float. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Improve reduced resolution decodingMichael Niedermayer2013-07-02
| | | | | | | Correctly scale down the component coordinates and clean up some redundant code. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Compute quantization for 'scalar derived' in the correct case.Michael Niedermayer2013-07-02
| | | | | | Scalar derived case is represented by the JPEG2K_QSTY_SI define. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Calculate code-block coord in ff_jpeg2000_init_component()Michael Niedermayer2013-07-02
| | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Nicolas Bertrand <nicoinattendu@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Fix compute precedence error in lut_gain indexMichael Niedermayer2013-07-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>