summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* Remove commented-out #includesDiego Biurrun2013-05-15
|
* mmf: Write metadata into an Optional Data chunkYoshihisa Uchida2013-05-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mmf: K&R formatting cosmeticsLuca Barbato2013-05-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oma: properly forward errors in oma_read_packetLuca Barbato2013-05-07
| | | | | | Prevent spurios EIO on EOF. CC:libav-stable@libav.org
* oma: return meaningful errorsLuca Barbato2013-05-07
|
* nut: use meaningful error valuesLuca Barbato2013-05-07
| | | | Fix the mispresented EINVAL for EOF on partial files, among the other.
* wav: Always seek to an even offsetLuca Barbato2013-05-06
| | | | | | | RIFF chunks are aligned to 16bit according to the specification. Bug-Id:500 CC:libav-stable@libav.org
* nut: use a define for the nut versionLuca Barbato2013-05-06
| | | | Ease switching version in the future and make evident why that value.
* avformat: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-05
|
* sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixesDiego Biurrun2013-05-04
|
* avs: Increase magic value score above file extension scoreDiego Biurrun2013-05-04
| | | | | This should fix misdetection of AVS files as AviSynth scripts when AviSynth support is enabled (Bugzilla #357).
* avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriateDiego Biurrun2013-05-04
|
* build: output-example: Add avutil to ELIBS in link commandDiego Biurrun2013-05-04
| | | | | | | | | output-example links against swscale, which depends on avutil. In standard configurations, by pure good luck, the libs before swscale pull in all of swscale's dependencies and linking succeeds. However, in some configurations like --disable-asm this is not the case and linking fails. Hardcode the dependency to avoid a more general Makefile refactoring.
* nut: K&R formatting cosmeticsLuca Barbato2013-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* wav: return meaningful errorsLuca Barbato2013-05-03
|
* silly typo fixesDiego Biurrun2013-05-03
|
* id3v2: check for end of file while unescaping tagsLuca Barbato2013-05-03
| | | | | | | Prevent a serious out of buffer bound write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* matroskaenc: add an option to put the index at the start of the fileAnton Khirnov2013-05-03
|
* matroskaenc: cosmetics, reorder the #includesAnton Khirnov2013-05-03
|
* wav: K&R formatting cosmeticsLuca Barbato2013-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* id3v2: K&R formatting cosmeticsLuca Barbato2013-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avformat: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* oma: K&R formatting cosmeticsLuca Barbato2013-04-27
|
* hls, segment: fix splitting for audio-only streams.Anton Khirnov2013-04-27
| | | | CC:libav-stable@libav.org
* lavf: introduce AVFMT_TS_NEGATIVELuca Barbato2013-04-25
| | | | | | | | | | Most formats do not support negative timestamps, shift them to avoid unexpected behaviour and a number of bad crashes. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfenc: Use correct printf format specifier for int64_tDiego Biurrun2013-04-22
| | | | libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat]
* riff: Factor out WAVEFORMATEX parsingLuca Barbato2013-04-21
| | | | | | Makes the code simpler to follow. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: Add ACTRAC3+ guidPeter Ross2013-04-21
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guidPeter Ross2013-04-21
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: Move guid structs and helper functions into riffPeter Ross2013-04-21
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: check for eof if chunk size and code are 0Luca Barbato2013-04-21
| | | | | | | | | | Prevent an infinite loop. Inspired by a patch from Michael Niedermayer CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 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.