summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* prores: initialise encoder and decoder parts only when neededKostya Shishkov2012-02-17
|
* swscale: make monowhite/black RGB-independent.Ronald S. Bultje2012-02-16
| | | | | | Disadvantage is that it no longer allows modifying brightness through adjustment of the RGB lookup table. Advantage is that now monowhite/black no longer need to be identified as a RGB format.
* flac: fix infinite loops on all-zero input or end-of-stream.Ronald S. Bultje2012-02-16
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmapro: change max. block size to 13 bits.Ronald S. Bultje2012-02-16
| | | | | | | WMApro actually support 13-bits block sizes (potentially even up to 14), and thus we should support that also. If we get block sizes beyond what the decoder can handle (14 is possible depending on s->decode_flags), error out instead of crashing.
* shorten: Use separate pointers for the allocated memory for decoded samples.Michael Niedermayer2012-02-16
| | | | | | | | | | | Fixes invalid free() if any of the buffers are not allocated due to either not decoding a header or an error prior to allocating all buffers. Fixes CVE-2012-0858 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* atrac3: Fix crash in tonal component decoding.Michael Niedermayer2012-02-16
| | | | | | | | | | | | Add a check to avoid writing past the end of the channel_unit.components[] array. Bug Found by: cosminamironesei Fixes CVE-2012-0853 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ws_snd1: Fix wrong samples counts.Michael Niedermayer2012-02-16
| | | | | | | | | | | This makes the check that avoids overwrite of the samples array actually work properly. fixes CVE-2012-0848 CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* movenc: Don't set a default sample duration when creating ismvMartin Storsjö2012-02-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Factorize the check for distinguishing RTCP packets from RTPMartin Storsjö2012-02-16
| | | | | | The binary doesn't change after this patch. Signed-off-by: Martin Storsjö <martin@martin.st>
* golomb: avoid infinite loop on all-zero input (or end of buffer).Ronald S. Bultje2012-02-16
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* bethsoftvid: synchronize video timestamps with audio sample rateJustin Ruggles2012-02-16
| | | | | | | | According to unofficial documentation, the video rate is locked to the audio sample rate. This results in proper synchronization of audio and video timestamps from the demuxer. This only works if the first audio packet occurs before the first video packet or the audio sample rate is the default rate of 11111 Hz, both of which are true for all samples in our archive.
* bethsoftvid: add audio stream only after getting the first audio packetJustin Ruggles2012-02-16
| | | | | | This avoids initializing a stream with dummy values or when the file does not contain audio. Also set duration for audio packets, using the sample rate as the time base.
* bethsoftvid: Set video packet duration instead of accumulating pts.Justin Ruggles2012-02-16
|
* bethsoftvid: set packet key frame flag for audio and I-frame video packets.Justin Ruggles2012-02-16
| | | | | Fixes avconv video stream copy of bethsoft video, which was skipping all video frames unless the copyinkf option was used.
* bethsoftvid: fix read_packet() return codes.Justin Ruggles2012-02-16
| | | | Use proper AVERROR codes, and return 0 for no error.
* bethsoftvid: pass palette in side data instead of in a separate packet.Justin Ruggles2012-02-16
| | | | | | Update FATE reference to account for now non-existent palette packet. This also fixes the FATE test if frame data is not initialized in get_buffer(), so update comment in avconv accordingly.
* sdp: Ignore RTCP packets when autodetecting RTP streamsMartin Storsjö2012-02-16
| | | | | | | | The rtp demuxer which listens for RTP packets and detects the RTP payload type will currently get confused if the first packet received is an RTCP packet. Thus ignore such packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* proresenc: initialise 'sign' variableKostya Shishkov2012-02-16
|
* mpegaudio: replace memcpy by SIMD codeChristophe GISQUET2012-02-15
| | | | | | | | | | | | By replacing memcpy with an unrolled loop using the alignment knowledge it has, some speedup can be obtained. Before (gcc 4.6.1): ~400 cycles After: ~370 cycles Overall, around 2% speed increase when decoding a 2400s mp3 to f32le. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vc1: prevent using last_frame as a reference for I/P first frame.Ronald S. Bultje2012-02-15
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ppc: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sh4: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtjpeg: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vp56: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vorbis: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msmpeg4: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msmpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* snow: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | | | | This allows getting rid of a hack for conflicting symbol/define names. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg4: Add ff_ prefixes to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lagarith: Add ff_ prefix to lag_rac_initMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to j_rev_dct*Martin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to inv_zigzag_direct16Martin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Prefix fdct_ifast, fdct_ifast248Martin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to some nonstatic symbolsMartin Storsjö2012-02-15
| | | | | | Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c. Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h263: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Add an ff_ prefix to some lavf internal symbolsMartin Storsjö2012-02-15
| | | | | | | | | | Prefix the functions/tables brktimegm, pcm_read_seek, dv_offset_reset, voc_get_packet, codec_movaudio_tags, codec_movvideo_tags. After this, lavf has no global symbols without the proper prefix. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Remove a leftover function declarationMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Make rtsp_demuxer_class staticMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* prores encoderKostya Shishkov2012-02-15
|
* prores: move data shared between decoder and encoder to common fileKostya Shishkov2012-02-15
|
* prores: fix multithreaded decoding case when slice quantisers are not the sameKostya Shishkov2012-02-15
| | | | | | Since quantisation matrices are stored in context, decoding slices with different quantisers in parallel leads to unpredictable content of aforementioned matrices and wrong output picture thereof.
* CDXL demuxer and decoderPaul B Mahol2012-02-14
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* hls: Re-add legacy applehttp name to preserve interface compatibility.Alex Converse2012-02-14
|
* hlsproto: Rename the functions and contextMartin Storsjö2012-02-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>