summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* adpcm: Write the correct number of samples for ima-dk4Luca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* imc: Catch a division by zeroLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: Error on impossible encoding/channel combinationsLuca Barbato2013-07-09
| | | | | | | Joint stereo encoded mono is impossible. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: set the getbits context the right buffer_endLuca Barbato2013-07-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: fix error handlingLuca Barbato2013-07-09
| | | | | | | decode_tonal_components returns a proper AVERROR. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* movenc: Rename the timestamp parameter to dts in write_hint_packetsMartin Storsjö2013-07-08
| | | | | | This matches its actual intended use better. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Make sure the RTP hint tracks have nondecreasing DTSMartin Storsjö2013-07-08
| | | | | | | | | The RTP timestamps can be decreasing for codecs with B-frames. For these cases, make sure the timestamps in the MP4 file track itself are nondecreasing, and add an offset to the RTP packet hint instead to produce the intended RTP timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
* qdm2: check and reset dithering index per channelLuca Barbato2013-07-07
| | | | | | | | Checking per subband would have the index exceed the dithering noise table size. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: formatting cosmeticsLuca Barbato2013-07-07
| | | | | Apply the usual style plus drop few unnecessary return at the end of void functions.
* 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>