summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update for 1.0.3n1.0.3Michael Niedermayer2013-01-213-3/+3
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* h264: fix use of uninitialized variableMichael Niedermayer2013-01-211-2/+2
| | | | | | | | | Fixed CID968588 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit fc86f88b32a288b252a088ee3c77b4f6219d54d5) Signed-off-by: Michael Niedermayer <[email protected]>
* h264: print mismatching opcode details in check_opcodes()Michael Niedermayer2013-01-211-1/+4
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit dcbe15813ed09cf491e75a21cce0e751f5bc2b34) Signed-off-by: Michael Niedermayer <[email protected]>
* h264/ff_generate_sliding_window_mmcos: fix use of uninitialized variableMichael Niedermayer2013-01-211-2/+2
| | | | | | | | Fixes CID968587 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 3fba3e79a3e46d7611817f9051b33885eb1ff962) Signed-off-by: Michael Niedermayer <[email protected]>
* avf_showwaves: fix null pointer dereferenceMichael Niedermayer2013-01-211-0/+1
| | | | | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit e4eebc2da9da886e1bdf87d29e9a4c5b55111036) Signed-off-by: Michael Niedermayer <[email protected]>
* h264: fix ff_generate_sliding_window_mmcos() prototype.Anton Khirnov2013-01-213-7/+13
| | | | | | | | | | It's been returning an error value since bad446e251405dc250c3cbee199072e083a1e4b9 Also check for the errors it returns. (cherry picked from commit ea382767ad2191acbe97e90624059723e15f0e4b) Signed-off-by: Michael Niedermayer <[email protected]>
* rtmpproto: Fix assignments in if()n1.0.2Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit a601eb9543ecab09aa69a6673e553318daf7ea57) Signed-off-by: Michael Niedermayer <[email protected]>
* vsrc_testsrc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 6f88d2d786b87cbfec5ea16d1cb570ad30c80399) Signed-off-by: Michael Niedermayer <[email protected]>
* tiff: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 659546b42d6550e67fcdbb4937cd1982c60448aa) Signed-off-by: Michael Niedermayer <[email protected]>
* ra144enc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit e2704381e5f13f54506f69b7a05a05dc27ce1d7d) Signed-off-by: Michael Niedermayer <[email protected]>
* nellymoserenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 795d2dc23b16a678d60a681e906aa87c14478597) Signed-off-by: Michael Niedermayer <[email protected]>
* libvorbisenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit bdd71abe5f34ca37612e17d912060f4dc9b94796) Signed-off-by: Michael Niedermayer <[email protected]>
* libvo-aacenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 0ccb31dcad5a1543fbb284d66b0410b91ebd171d) Signed-off-by: Michael Niedermayer <[email protected]>
* libspeexenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 3b8d66d5317d91288751869206b3acbb84dc44c7) Signed-off-by: Michael Niedermayer <[email protected]>
* libopencore-amr: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit d6180aa29741334cf69f691b27ffceb33f49d36a) Signed-off-by: Michael Niedermayer <[email protected]>
* libmp3lame: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 871b6ec01d27a74702b7cf1d61446709de037948) Signed-off-by: Michael Niedermayer <[email protected]>
* libfdk-aacenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 9302ad1ac89d5443505cf0418f9d62786513032e) Signed-off-by: Michael Niedermayer <[email protected]>
* libfaac: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 68a25c64cda16e12ef3a051ff8661c71ef574683) Signed-off-by: Michael Niedermayer <[email protected]>
* aacenc: Fix assignments in if()Michael Niedermayer2013-01-201-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 98fed59427cec17ce55ac137e7e250cff7db81cf) Signed-off-by: Michael Niedermayer <[email protected]>
* update for FFmpeg 1.0.2Michael Niedermayer2013-01-203-3/+3
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* mpeg1enc: Disable threads for resolutions too large for multi-threadingMichael Niedermayer2013-01-201-0/+3
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 0c6b0409af070a3bfb02b55fde8ba18219edc76b) Signed-off-by: Michael Niedermayer <[email protected]>
* mpeg12enc: check dimension validityMichael Niedermayer2013-01-201-0/+13
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 7fb87bc5f24b1be13269109506c05e4c54695b5e) Signed-off-by: Michael Niedermayer <[email protected]>
* mpeg12enc: Correctly mask dimensionsMichael Niedermayer2013-01-201-2/+2
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit bcc4ef1a415c2ae646fdc4a8e22ebe0205f270e6) Signed-off-by: Michael Niedermayer <[email protected]>
* mpeg12: Support decoding dimensions that are a multiple of 4096Michael Niedermayer2013-01-201-2/+5
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 878e5bd6f555ad6167abacb30d66e47aabcdd745) Signed-off-by: Michael Niedermayer <[email protected]>
* h264: add 3 pixels below for subpixel filter wait position.Ronald S. Bultje2013-01-201-3/+4
| | | | | | | | | | | | | | | | | | | | If the motion vector is at a subpixel position, we need 3 pixels below the motion vector's wholepel position available, not 2, since the MC filter is a sixtap filter for the hpel position, and then a bilin filter for the qpel position. This patch fixes highly irreproducible (0.1%) fate failures in frame 2 and 4 of h264-conformance-cama2_vtc_b (e.g. first P-frame, first field, last line of MB x=40,y=2 and second field and last lines of MBs x=39-40, y=3). These used pre-loopfilter instead of post-loopfilter data because the await_progress() waited for one line too little in that field, and the motion vector of these particular MBs happened to align exactly to a position where that demonstrates the bug. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 2c85d7c015489e169759e52c21499579dae5c2b1) Signed-off-by: Michael Niedermayer <[email protected]>
* h264: don't clobber mmco opcode tables for non-first slice headers.Ronald S. Bultje2013-01-203-47/+114
| | | | | | | | | | | | | | | | | | | | | | | | Clobbering these tables will temporarily clobber the template used as a basis for other threads to start decoding from. If the other decoding thread updates from the template right at that moment, subsequent threads will get invalid (or, usually, none at all) mmco tables. This leads to invalid reference lists and subsequent decode failures. Therefore, instead, decode the mmco tables only for the first slice in a field or frame. For other slices, decode the bits and ensure they are identical to the mmco tables in the first slice, but don't ever clobber the context state. This prevents other threads from using a clobbered/invalid template as starting point for decoding, and thus fixes decoding in these cases. This fixes occasional (~1%) failures of h264-conformance-mr1_bt_a with frame-multithreading enabled. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit f6badba1859fb266a9c0bdaf006a04c73873cd90) Signed-off-by: Michael Niedermayer <[email protected]>
* swr: fix handling of timestamps that cause multiple drops or silence injectionsMichael Niedermayer2013-01-201-1/+1
| | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit d676598f879ba01ddb62f9abe8e17b2e94cb91cd)
* Only skip MLP header in mpeg files if the codec actually is MLP.Carl Eugen Hoyos2013-01-171-1/+1
| | | | | | Fixes PCM audio in Kansas Pheasant Hunt 2000 mpg file. Reported-by: Mashiat Sarker Shakkhar (cherry picked from commit ad406f7e402977cb7dbc78ccb63e21c137f6699e)
* Fix detection of struct v4l2_frmsize_discrete.Carl Eugen Hoyos2013-01-171-1/+1
| | | | | It was always detected successfully. (cherry picked from commit c345100efc9baae0ea7c9fcc376725cae5d3df6e)
* ff_get_audio_frame_size: try to fix wma in wavMichael Niedermayer2013-01-071-0/+7
| | | | | | | Fixes Ticket1905, Ticket2114 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 2713e43ac85245805db95048493dde121a20aee7)
* ffmpeg: mark attachment streams finished.Nicolas George2013-01-071-0/+1
| | | | | Fix trac ticket #2083. (cherry picked from commit 69a1667b064b11a2df4b4bdc136955f76d17f558)
* tiffdec: Use the correct height field.Piotr Bandurski2013-01-071-1/+1
| | | | | | | Fixes Ticket913 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 4784a135b2b0fe4d1b4c6256bd37265fc45aed3d)
* lavf: Fix codec id forcing with probed codecsMichael Niedermayer2013-01-021-0/+1
| | | | | | | Fixes Ticket2088 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 341e40f1e1eeba1a2952c26363630596193e887b)
* lavf: move force_codec_ids() upMichael Niedermayer2013-01-021-15/+15
| | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 3a6b6f425ee3f552eaaf6bde7480be5cb38aba1d)
* lavc/ass_split: check for NULL pointer in ff_ass_split_override_codes().Clément Bœsch2013-01-011-1/+1
| | | | | | | | | | | | This is consistent with the other ff_ass_split_* functions. It also fixes a crash when trying to split a dialog with text=NULL (which seems to happen when the text of the dialog is empty); basically, this commit fixes crashes when trying to encode an empty text subtitle dialog (see subrip and mov_text encoders). Fixes Ticket2048. (cherry picked from commit c83002a4f8042ccfa0688a9a18e8fa0369c1fda8)
* mov: fix parsing of the chap atom.Hendrik Leppkes2013-01-011-7/+7
| | | | | | | | This was broken in 0d96ec19ebc1577b27a889136364a906e1c627b1 under the assumption that there is only one tref leaf atom. Fixes Ticket #2081. (cherry picked from commit 765158dd82a2e985f4eb0b201a8256964403f623)
* lavc/movtextdec: keep the min size instead of max to fix overread.Clément Bœsch2013-01-011-1/+1
| | | | | Fixes Ticket #2087. (cherry picked from commit 7d66bc7920240cc0e8df6c44b2d2cdbe4b228fbe)
* mov: fix time types related to mov_metadata_creation_timeMichael Niedermayer2012-12-201-4/+6
| | | | | | | Fixes Ticket1817 Based on patch by: Przemyslaw Wesolek <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit adbb75dbd8eabdaa7439633d26a79eb5b7387ef9)
* mpeg1video: fix regression with slices != threadsMichael Niedermayer2012-12-131-1/+1
| | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit a01679586cd9ac8470b81c0299fc7e13fd980d64)
* mpeg1video: support multi threaded slice encoding.Michael Niedermayer2012-12-131-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 03df9720168335482f00898fc16b56ff4878d0e7) Conflicts: libavcodec/mpeg12enc.c
* flac_parser.c: fix issue with looping output for small files.Michael Chinen2012-12-111-5/+9
| | | | | | | | see trac 1345 https://ffmpeg.org/trac/ffmpeg/ticket/1345 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit c73b1a1d8010dac29653b41d39af9c18247179c3)
* ffplay: Prevent 0/0 aspect from being passed on to lavfiMichael Niedermayer2012-12-111-1/+1
| | | | | | | | 0/0 fails to be parsed Fixes Ticket1814 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit a63d7213b3eb96a35fdf34b05f45e5675107d8f9)
* asfdec: check stream_index for validityMichael Niedermayer2012-12-101-1/+1
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit b7280cff9a7683395d7f899517b4aea8b52f12a4) Signed-off-by: Michael Niedermayer <[email protected]>
* asfdec: flip the interpretation of the header aspect backMichael Niedermayer2012-12-101-4/+4
| | | | | | | | | | | This reverts 2de88776892093b10522152f1f72b7dfc0320502 Fixes Ticket 1883 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit e5927910c2a156e9ad6388413400b620d1dcf035) Signed-off-by: Michael Niedermayer <[email protected]>
* asfdec: parse aspect ratio payload extensionMichael Niedermayer2012-12-101-0/+8
| | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 343c73e252d3e3c1e5d2037c2e8eb14b504f1e6f) Signed-off-by: Michael Niedermayer <[email protected]>
* asfdec: correctly parse payload extensionsMichael Niedermayer2012-12-101-14/+39
| | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 8c93269e420735f41363e75f8ee4c4e7b3ec49a7) Conflicts: libavformat/asfdec.c
* asfdec: parse payload extension listMichael Niedermayer2012-12-102-2/+20
| | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 2d8c76eb1f1c198e81c36a95c0d56e55cc1f4c5a) Conflicts: libavformat/asf.h
* vqavideo: Reinitialise the actually used partial codebook bytestream-reader.Carl Eugen Hoyos2012-12-101-3/+1
| | | | | Fixes ticket #1942. (cherry picked from commit dd6abc921af19100c4ace5ff72dee5f92c0e6ac0)
* avidec: try to support oddly muxed MMES streamMichael Niedermayer2012-12-101-0/+5
| | | | | | | Fixes ticket1804 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit be89693ddc5a8cdeaf3edf48fb584d6adca54de0)
* riff: ignore ff_read_riff_info() failure.Michael Niedermayer2012-12-101-2/+1
| | | | | | | | Some files simply contain invalid info tags. Fixes unrelated bug posted into Ticket1821 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 09456d0df13404f004ab3a341d9ac21b7e5e6d6d)