summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* rmdec: when using INT4 deinterleaving, error out if sub_packet_h <= 1.Ronald S. Bultje2012-02-22
| | | | | | | | | We read sub_packet_h / 2 packets per line of data (during deinterleaving), which equals zero if sub_packet_h <= 1, thus causing us to not read any data, leading to an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cdxl: correctly synchronize video timestamps to audioPaul B Mahol2012-02-22
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mlpdec_parser: fix a few channel layouts.Tim Walker2012-02-22
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add channel names to channel_names[] array for channels added in b2890f5Tim Walker2012-02-22
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* movenc: Buffer the mdat for the initial moov fragment, tooMartin Storsjö2012-02-22
| | | | | | | | | | | | This allows writing QuickTime-compatible fragmented mp4 (with a non-empty moov atom) to a non-seekable output. This buffers the mdat for the initial fragment just as it does for all normal fragments, too. Previously, the resulting atom structure was mdat,moov, moof,mdat ..., while it now is moov,mdat, moof,mdat. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Ignore the index if the ignidx flag is setMartin Storsjö2012-02-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Fix indentationMartin Storsjö2012-02-22
| | | | | | Also split a long line. Signed-off-by: Martin Storsjö <martin@martin.st>
* movdec: Don't parse all fragments if ignidx is setMartin Storsjö2012-02-22
| | | | | | | | | | In nonseekable files, we already stop parsing the toplevel atoms after finding moov and one mdat. In large seekable files (or files that are seekable, but slowly, e.g. http), reading all the fragments at the start can take a considerable amount of time. This allows opting out from this behaviour. Signed-off-by: Martin Storsjö <martin@martin.st>
* movdec: Restart parsing root-level atoms at the right spotMartin Storsjö2012-02-22
| | | | | | | | | | | If parsing moov+mdat in a non-seekable file, we currently abort parsing directly after parsing the header of the mdat atom. If we want to continue parsing later (if looking to parse later fragments), we need to skip past the content of the mdat atom, otherwise we end up parsing the content of the mdat atom as root level atoms. Signed-off-by: Martin Storsjö <martin@martin.st>
* prores: use natural integer type for the codebook indexChristophe GISQUET2012-02-22
| | | | | | | | | | | The operations that use it require it to be promoted to a larger (natural) type and thus perform sign extension on it. While an optimal compiler may account for this, gcc 4.6 (for x86 Windows) fails. Using the natural integer type provides a 2% speedup for Win64 and 1% for Win32. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: Add support for MPEG2 HDV 720p24 (hdv4)Alex Converse2012-02-21
|
* swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-21
|
* swscale: variable declaration and placement cosmeticsDiego Biurrun2012-02-21
|
* mpegvideo_enc: only allocate output packet when we know there will be outputAnton Khirnov2012-02-21
| | | | Fixes a memleak.
* Add names for more channel layouts to the channel layout map.Tim W2012-02-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* sunrast: Add a sample request for RMP_RAW colormap.Aneesh Dogra2012-02-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avcodec: do not override pts or duration from the audio encoderJustin Ruggles2012-02-21
| | | | | This allows encoders to set pts and/or duration even if they do not use CODEC_CAP_DELAY.
* Add prores regression test.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Enable already existing rso regression test.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add regression test for "sox" format muxer/demuxer.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add dpx encoding regression test.Carl Eugen Hoyos2012-02-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-21
|
* img2: Use ff_guess_image2_codec(filename) shorthand where appropriate.Diego Biurrun2012-02-21
|
* Clarify licensing information about files borrowed from libjpeg.Diego Biurrun2012-02-21
|
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* avplay: fix -threads optionJanne Grunau2012-02-21
| | | | | | | | The AVOptions based default to threads auto in 2473a45c8 works only if avplay does not use custom option handling for -threads. CC: <libav-stable@libav.org>
* dvbsubdec: avoid undefined signed left shift in RGBA macroJanne Grunau2012-02-21
|
* mlpdec: use av_log_ask_for_sample()Paul B Mahol2012-02-21
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* gif: K&R formatting cosmeticsAneesh Dogra2012-02-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* png: make .long_name more descriptivePaul B Mahol2012-02-21
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* movdec: Adjust keyframe flagging in fragmented filesMartin Storsjö2012-02-21
| | | | | | | | | | | | | | For video, mark the first sample in a trun which doesn't have the sample-is-non-sync-sample flag set as a keyframe. In particular, the "sample does not depend on other samples" flag isn't enough to make it a keyframe, since later frames still can reference frames prior to that one (the flag only says that that particular frame doesn't depend on other frames). This fixes bug 215. Signed-off-by: Martin Storsjö <martin@martin.st>
* rv34: change most "int stride" into "ptrdiff_t stride".Ronald S. Bultje2012-02-20
| | | | | | This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
* adpcmenc: Use correct frame_size for Yamaha ADPCM.Justin Ruggles2012-02-20
| | | | | | | | | | | Output packet size should match avctx->block_align. The target output packet size is 1024 bytes. Before: mono - 1024 samples -> 512 bytes stereo - 2048 samples -> 2048 bytes After: mono - 2048 samples -> 1024 bytes stereo - 1024 samples -> 1024 bytes
* avcodec: add ff_samples_to_time_base() convenience function to internal.hJustin Ruggles2012-02-20
|
* adx parser: set durationJustin Ruggles2012-02-20
|
* mlp parser: set duration instead of frame_sizeJustin Ruggles2012-02-20
|
* gsm parser: set durationJustin Ruggles2012-02-20
|
* mpegaudio parser: set duration instead of frame_sizeJustin Ruggles2012-02-20
|
* (e)ac3 parser: set duration instead of frame_sizeJustin Ruggles2012-02-20
|
* flac parser: set duration instead of frame_sizeJustin Ruggles2012-02-20
|
* avcodec: add duration field to AVCodecParserContextJustin Ruggles2012-02-20
| | | | | This will allow parsers to export the duration of the current frame being output, if known, instead of using AVCodecContext.frame_size.
* avutil: add av_rescale_q_rnd() to allow different roundingJustin Ruggles2012-02-20
|
* pnmdec: remove useless .pix_fmtsPaul B Mahol2012-02-20
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* libmp3lame: support float and s32 sample formatsJustin Ruggles2012-02-20
|
* libmp3lame: renaming, rearrangement, alignment, and commentsJustin Ruggles2012-02-20
|
* libmp3lame: use the LAME default bit rateJustin Ruggles2012-02-20
| | | | Also, only set bit rate for CBR.
* libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsingJustin Ruggles2012-02-20
|
* libmp3lame: cosmetics: remove some pointless commentsJustin Ruggles2012-02-20
|
* libmp3lame: convert some debugging code to av_dlog()Justin Ruggles2012-02-20
| | | | also remove unneeded commented-out full frame data debugging
* libmp3lame: remove outdated comment.Justin Ruggles2012-02-20
| | | | | | We now require at least libmp3lame 3.98.3. lame_encode_buffer_interleaved() still doesn't work for mono, but it does not "die"; it just expects a stereo interleaved buffer.