summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* riff: K&R formatting cosmeticsLuca Barbato2013-04-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mp3dec: fallback to generic seeking when a TOC is not presentMichael Niedermayer2013-04-19
| | | | | | | Fixes seeking without a Xing/Info header. CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flvenc: do not mux more than one stream per typeRafaël Carré2013-04-16
| | | | | | FLV does not support multiple audio or video streams. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* img2enc: add an option for overwriting one file with subsequent imagesAnton Khirnov2013-04-11
| | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
* Move misplaced file author information where it belongsDiego Biurrun2013-04-11
|
* srtp: Include rtpdec.h for RTP_MAX_PACKET_LENGTHMartin Storsjö2013-04-09
| | | | | | | This was missed from 350ad50b - this fixes building the fate-srtp test. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Increase max rtp packet size to 8192Andrew Van Til2013-04-09
| | | | | | This fixes connecting to "Ceton InfiniTV4 PCIe & USB". Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500Andrew Van Til2013-04-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* img2: Add j2k file extension for JPEG 2000Nicolas Bertrand2013-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* xmv: do not leak memory in the error paths in xmv_read_header()Anton Khirnov2013-04-04
| | | | CC: libav-stable@libav.org
* xmv: check audio track parameters validity.Anton Khirnov2013-04-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* id3v2: pad the APIC packets as required by lavc.Anton Khirnov2013-04-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavf: make sure stream probe data gets freed.Anton Khirnov2013-04-04
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* matroska: pass the lace size to the matroska_parse_rm_audioLuca Barbato2013-04-03
| | | | | | | | | | | Each lace must be independent according to the specification. Fix heap-buffer-overflow in matroska_parse_block for corrupted real media in mkv files. Stricter check than fc43c19a567aa945398dccb491d972c11ec2a065 CC: libav-stable@libav.org
* matroska: fix a corner case in ebml-lace parsingLuca Barbato2013-04-03
| | | | | | Make sure we notice when the lace_size[n] is a negative value. CC: libav-stable@libav.org
* matroska: Update the available size after lace parsingDale Curtis2013-04-03
| | | | | | | | | Fix heap-buffer-overflow in matroska_parse_block for corrupted real media in mkv files. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* oma: Validate sample ratesLuca Barbato2013-03-31
| | | | | | | | The sample rate index is 3 bits even if currently index 5, 6 and 7 are not supported. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* flvdec: read audio sample size and channels metadataJustin Ruggles2013-03-28
| | | | | This is needed in order for the FLV demuxer not to detect a codec change when using the "flv_metadata" option.
* flvdec: use the correct audio codec id when parsing metadataJustin Ruggles2013-03-28
|
* win32: Use 64-bit fstat/lseek variants for MSVC as wellHendrik Leppkes2013-03-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* win32: Make ff_win32_open more robustReimar Döffinger2013-03-27
| | | | | | | | | | | - Make MultiByteToWideChar fail when it encounters invalid encoding. Without this, invalid characters might just be skipped - When MultiByteToWideChar fails, assume the file name is in CP_ACP and open it via normal open function, even when the file will be written - When malloc fails return error instead of crashing Signed-off-by: Martin Storsjö <martin@martin.st>
* win32: Allow other programs to open the same filesReimar Döffinger2013-03-27
| | | | | | | In order to match Linux behaviour better our Windows-specific open() replacement should disable Windows default file locking. Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: use correct context for the bit table printed in debugKostya Shishkov2013-03-27
|
* lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö2013-03-26
| | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: 3.80-3.92 decoding supportKostya Shishkov2013-03-25
|
* rtmp: Pass the parameters to do_adobe_auth in the right orderMartin Storsjö2013-03-20
| | | | | | | | | | | do_adobe_auth takes the parameters in the order "opaque, challenge". Due to the way they are treated, this didn't matter in the tested setups though - if both are set, we only use one. In the tested setups (Wowza and Akamai) either one of them were null or they were both set to the same value, which is why this worked before. Signed-off-by: Martin Storsjö <martin@martin.st>
* Revert "asfenc: return error on negative timestamp"Anton Khirnov2013-03-19
| | | | | This reverts commit d1bec33b46091546c5b2e6815210e73f87abf413, it breaks FATE.
* iff: validate CMAP palette sizeKostya Shishkov2013-03-18
| | | | | | | | | Fixes CVE-2013-2495 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
* asfenc: return error on negative timestampLuca Barbato2013-03-18
| | | | | | | According to the specification the timestamp is represented by a 32bit unsigned. CC: libav-stable@libav.org
* lavf: sanity check size in av_get/append_packet().Anton Khirnov2013-03-15
| | | | | | To avoid allocating ridiculous amounts of memory for corrupted files, read the input in chunks limited to filesize or an arbitrary large amount when that is not known (chosen to be 50M).
* flacdec: simplify bounds checking in flac_probe()Xi Wang2013-03-15
| | | | | | | | | | | Simplify `p->buf > p->buf + p->buf_size - 4' as `p->buf_size < 4'. Avoid a possible out-of-bounds pointer, which is undefined behavior in C. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* add support for Monkey's Audio versions from 3.93Kostya Shishkov2013-03-15
|
* mpegts: add support for stream_type 0x42, which is CAVSCan Wu2013-03-15
| | | | | | This allows demuxing and muxing of CAVS TS streams. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rsodec: Use avpriv_report_missing_feature() where appropriateDiego Biurrun2013-03-13
|
* avformat: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-13
|
* matroskadec: request a read buffer for the wav headerLuca Barbato2013-03-12
| | | | | | Solve an infiniloop. CC: libav-stable@libav.org
* Add informative messages to av_log_ask_for_sample calls lacking themDiego Biurrun2013-03-12
|
* anm: Get rid of some very silly goto statementsDiego Biurrun2013-03-12
|
* lavf: remove disabled FF_API_R_FRAME_RATE cruftAnton Khirnov2013-03-11
|
* lavf: remove disabled FF_API_AV_GETTIME cruftAnton Khirnov2013-03-11
|
* lavf: remove disabled FF_API_INTERLEAVE_PACKET cruftAnton Khirnov2013-03-11
|
* lavf: remove disabled FF_API_READ_PACKET cruftAnton Khirnov2013-03-11
|
* lavf: remove disabled FF_API_APPLEHTTP_PROTO cruftAnton Khirnov2013-03-11
|
* lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruftAnton Khirnov2013-03-11
|
* output-example: Update to use encode_video2 instead of the now dropped ↵Martin Storsjö2013-03-08
| | | | | | encode_video Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tty: set avg_frame_rate.Anton Khirnov2013-03-08
| | | | The container does not store any timestamps and is CFR-only.
* Replace remaining includes of audioconvert.h with channel_layout.hAnton Khirnov2013-03-08
|
* Add the bumps and APIchanges entries for reference counted buffers changes.Anton Khirnov2013-03-08
|
* avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov2013-03-08
| | | | | | This will allow us to avoid copying the packets in many cases. This breaks ABI.