Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-10avformat: Use av_reallocp_array() where suitableAlexandra Khirnova
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-09-10movenc: Simplify setting the fragmentation flagMartin Storsjö
This makes sure the faststart vs fragmentation check works as intended when fragmentation is enabled due to using the ismv mode. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-10movenc: Add a warning message if conflicting options have been specifiedMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-10tcp: Explicitly convert a pointer to a boolean integerMartin Storsjö
This fixes warnings about making integers from pointers without a cast, and avoids the theoretical case where the lower 32 bits of the pointer would all be zero where the implicit cast wouldn't give the right result. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-07lavf: fix the comparison in an overflow checkAnton Khirnov
CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-07dv: Add a guard to not overread the ppcm arrayLuca Barbato
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-06avisynth: K&R formatting cosmeticsDiego Biurrun
2013-09-06avisynth: Add missing #include for NULL_IF_CONFIG_SMALLDiego Biurrun
2013-09-04matroskaenc: Allow chapters to be written in trailerJohn Stebbins
This allows creation of frame accurate chapter marks from sources like DVD and BD where the precise chapter location is not known until the chapter mark has been reached during reading. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-034xm: Check that the read track value is non-negativeMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-03matroskadec: Check that .lang was allocated and set before reading itMartin Storsjö
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-03movenc: Don't flush after each written packetMartin Storsjö
This should improve write performance quite significantly. --- Tested with both writing a normal mp4, by using the faststart feature and writing a fragmented mp4 file; all turn out with the same md5sum as before. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-02cosmetics: Fix ATRAC codec name spellingDiego Biurrun
2013-09-02ape demuxer: check for EOF in potentially long loopsAnton Khirnov
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-024xm: check that bits per sample is strictly positiveAnton Khirnov
Avoids a divide by zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-02lavf: avoid integer overflow when estimating bitrateAnton Khirnov
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-09-02lavf: move a variable declaration to the block where it's usedAnton Khirnov
2013-08-31pcm_dvd: consolidate pieces from pcm.c and mpeg.cChristian Schmidt
Remove the header decoding for PCM audio from mpeg.c and the 20/24bit parts from pcm.c and merge them into a new decoder in pcm-dvd.c. The decoder has added support for samples that span multiple packets and modified 20/24bit group decoding. Both is needed to decode samples that have been generated with DVD-Lab Pro 2. The decoding of 16bit PCM and two channel 24bit is identical to before. No other samples are known to verify the correctness of the encoding this software does. The complete list of tested formats is 48kHz/16bit/2-8 channels 48kHz/24bit/2-5 channels 96kHz/16bit/2-4 channels 96kHz/24bit/2 channels Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-28rtmpproto: Fix limelight authentication with abbreviated app namesMartin Storsjö
When streaming to limelight, the app name is either a full "appname/subaccount" or "appname/_definst_". In the latter case, the app name can be simplified into simply "appname", but the authentication hashing assumes the /_definst_ still to be present. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-27smoothstreamingenc: Write to a temp file while updating the manifestMartin Storsjö
If a client tries to read the file while it's being updated, the client would get an incomplete manifest. Instead write to a separate temp file and atomically rename it to replace the previous one. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-27flv: Fix the help stringLuca Barbato
2013-08-27matroskaenc: Fix writing TRACKDEFAULTFLAGJohn Stebbins
The element was only being written when the value == 1. But the default value of this element is 1, so this has no useful effect. This element needs to be written when the value == 0. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-27movenc: Check for errors from mov_create_chapter_trackMartin Storsjö
On failures in the write_trailer function, we could also ignore the errors and try to finish the file despite these errors (which would only leave an incomplete chapters track). It's probably better to signal the error clearly to the caller though (and if this function failed there's no guarantee that there's enough memory to finish the trailer either). Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-27movenc: Properly free allocated data on failures in mov_write_headerMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-27movenc: Check that tracks->enc exists before trying to free extradataMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-27movenc: Check for allocation failures in mov_create_chapter_trackMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-25mov: Write tmcd extradataLuca Barbato
2013-08-25mov: Parse tmcd extradataLuca Barbato
2013-08-24mov: Refactor multiple stsd skipping in mov_mov_skip_multiple_stsdLuca Barbato
2013-08-24mov: Refactor codec specific final steps in mov_finalize_stsd_codecLuca Barbato
2013-08-24mov: Refactor subtitle specific parsing in mov_parse_stsd_subtitleLuca Barbato
2013-08-24mov: Refactor audio specific parsing in mov_parse_stsd_audioLuca Barbato
2013-08-24mov: Refactor video specific parsing in mov_parse_stsd_videoLuca Barbato
2013-08-24mov: Refactor codec id selection in mov_codec_idLuca Barbato
2013-08-23movenc: Make tkhd "enabled" flag QuickTime compatibleJohn Stebbins
QuickTime will play multiple audio tracks concurrently if this flag is set for multiple audio tracks. And if no subtitle track has this flag set, QuickTime will show no subtitles in the subtitle menu. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-23mov: use tkhd enabled flag to set the default trackJohn Stebbins
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-21movenc: fix detection of 64bit offset requirementClément Bœsch
The old method doesn't work when moov is relocated to beginning of file Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-21movenc: Make chapter track QuickTime compatibleJohn Stebbins
QuickTime requires that the stsd.text box be completely filled in. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-21movenc: add faststart option for web streamingClément Bœsch
Faststart moves the moov atom to the beginning of the file and rewrites the rest of the file after muxing is complete. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-20movenc: Allow chapters to be written in trailerJohn Stebbins
This allows creation of frame accurate chapter marks from sources like DVD and BD where the precise chapter location is not known until the chapter mark has been reached during reading. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-20movenc: Allow chapter track in default MODE_MP4John Stebbins
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-20avformat: Fix references to removed av_close_input_file in DoxygenDiego Biurrun
2013-08-20mov: Prevent segfaults on mov_write_hdlr_tagLuca Barbato
Do not segfault when writing tracks such as tmcd by writing them down as generic DataHandlers if not known.
2013-08-20mov: Compute max duration among the tracks with a timescaleLuca Barbato
Prevent an assert.
2013-08-20mov: Set the timescale for data streamsLuca Barbato
Data streams have a defined timebase, do not ignore it.
2013-08-20mkv: Allow flushing the current cluster in progressMartin Storsjö
Allow emitting the current cluster that is being written before starting a new one, simplifying how to figure out where clusters are positioned in the output stream (for live streaming). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-20mkv: Flush the old cluster before writing a new oneLuca Barbato
This simplifies keeping track of cluster boundaries for e.g. livestreaming of WebM. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-20mkv: Add options for specifying cluster limitsLuca Barbato
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-19mkv: Refactor mkv_write_packetLuca Barbato
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-19ogg: Fix potential infinite discard loopReimar Döffinger
Seeking in certain broken files would cause ogg_read_timestamp to fail because ogg_packet would go into a state where all packets of stream 1 would be discarded until the end of the stream. Bug-Id: 553 CC: libav-stable@libav.org Signed-off-by: Jan Gerber <j@v2v.cc> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>