summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* asv1enc: switch to encode2().Anton Khirnov2012-02-23
|
* libschroedingerenc: switch to encode2().Anton Khirnov2012-02-23
|
* ffv1enc: switch to encode2().Anton Khirnov2012-02-23
|
* libtheoraenc: switch to encode2().Anton Khirnov2012-02-23
|
* jpeglsenc: switch to encode2().Anton Khirnov2012-02-23
|
* lclenc: switch to encode2().Anton Khirnov2012-02-23
|
* qtrleenc: switch to encode2().Anton Khirnov2012-02-23
|
* flacdec: set channel_layout based on channel countJustin Ruggles2012-02-22
| | | | | | | Channel layouts are specified in the FLAC format description at http://flac.sourceforge.net/format.html fixes Bug 209
* mov: set channel layout for AC-3 streams based on the 'dac3' atom infoJustin Ruggles2012-02-22
| | | | fixes Bug 225
* swscale: fix filtersize clipping.Ronald S. Bultje2012-02-22
| | | | if srcW<=2, clip(x, 1, srcW-2) still allows srcW to be < 1.
* dxva2: don't check for DXVA_PictureParameters->wDecodedPictureIndexRafaël Carré2012-02-22
| | | | | | | | | | | This structure is well defined by Microsoft at: http://msdn.microsoft.com/en-us/library/windows/hardware/ff564012(v=vs.85).aspx Thus, the wDecodedPictureIndex member is guaranteed to exist. Also, both the MPEG-2 and VC-1 hwaccel decoders depend on this struct member, but only the VC-1 decoder was disabled if the check failed. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* img2: split muxer and demuxer into separate filesPaul B Mahol2012-02-22
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rm: prevent infinite loops for index parsing.Ronald S. Bultje2012-02-22
| | | | | | | | | Specifically, prevent jumping back in the file for the next index, since this can lead to infinite loops where we jump between indexes referring to each other, and don't read indexes that don't fit in the file. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* aac: fix infinite loop on end-of-frame with sequence of 1-bits.Alex Converse2012-02-22
| | | | | | Based-on-work-by: Ronald S. Bultje <rsbultje@gmail.com> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mov: Add more HDV and XDCAM FourCCs.Alex Converse2012-02-22
| | | | Reference: VLC
* lavf: don't set AVCodecContext.has_b_frames in compute_pkt_fields().Anton Khirnov2012-02-22
| | | | | | | | | | | It is not supposed to be done outside lavc. This is basically a revert of 818062f2f346df30f4ec0c0c1f54e8025cc3a80a. It is unclear what issue this was supposed to fix, if it reappears again it will have to be fixed in a more proper place. The wtv-demux test change is because the sample starts with a B-frame.
* 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
|