- 19 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes a deadlock with frame threads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Nov, 2012 3 commits
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 16 Nov, 2012 2 commits
-
-
Janne Grunau authored
s->mb_x is reset to zero a couple of lines above. It does not make sense to call ff_er_add_slice() with 0 as endx when the end of the macroblock row was reached. Fixes unnecessary and counterproductive error resilience in https://bugzilla.libav.org/show_bug.cgi?id=394. CC: libav-stable@libav.org
-
Janne Grunau authored
Fixes a crash with zuffed files.
-
- 15 Oct, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 09 Oct, 2012 1 commit
-
-
Diego Biurrun authored
Some invocations include a verb in the log message, others do not. Yet av_log_missing_feature expects callers to provide a verb. Change the function to include a verb instead and update the callers accordingly. The result is a more natural function API and correct English in the function invocations.
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 07 Oct, 2012 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Oct, 2012 1 commit
-
-
Clément Bœsch authored
This fixes one of the potential races spotted by Helgrind.
-
- 01 Oct, 2012 1 commit
-
-
Diego Biurrun authored
-
- 29 Sep, 2012 1 commit
-
-
Jindřich Makovička authored
When decode_nal_units() previously encountered a NAL_END_SEQUENCE, and there are some junk bytes left in the input buffer, but no start codes, buf_index gets stuck 3 bytes before the end of the buffer. This can trigger an infinite loop in the caller code, eg. in try_decode_trame(), as avcodec_decode_video() then keeps returning zeroes, with 3 bytes of the input packet still available. With this change, the remaining bytes are skipped so the whole packet gets consumed. CC:libav-stable@libav.org Signed-off-by:
Jindřich Makovička <makovick@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 05 Sep, 2012 1 commit
-
-
Michael Niedermayer authored
It is possible in various error paths as well as gap handling that this has already been allocated. It is not clear why that would be a problem with the current code, thus disable the assert to avoid a common assert failure when asserts are enabled. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 28 Aug, 2012 1 commit
-
-
Martin Storsjö authored
This fixes crashes introduced by 2e8f3cbc, the codec can be null when called from parsers. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 26 Aug, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Aug, 2012 2 commits
-
-
Michael Niedermayer authored
Found-by:
Joakim Plate <elupus@ecce.se> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes seeking to the first keyframe Fixes Ticket1029 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Aug, 2012 1 commit
-
-
Uoti Urpala authored
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420. Add a check to error out instead (current hardware does not support other colorspaces, so successful decoding is not possible). Check implemented at a different place by michael, thus blame for bugs goes to michael Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Aug, 2012 1 commit
-
-
Uoti Urpala authored
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420. Add a check to error out instead (current hardware does not support other colorspaces, so successful decoding is not possible). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 06 Aug, 2012 1 commit
-
-
Michael Niedermayer authored
It is possible in various error pathes as well as gap handling that this has already been allocated. Its not clear why that would be a problem with the current code, thus disable the assert to avoid common assert failure when asserts are enabled. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Jul, 2012 1 commit
-
-
Ronald S. Bultje authored
Write out the NAL decoding loops in full so that they are easier to parse for a preprocessor without it having to be aware of macros or other such things in C code. This also makes the code more readable. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 10 Jul, 2012 1 commit
-
-
Michael Niedermayer authored
This works with I, P and B frames CAVLC and CABAC Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Jul, 2012 1 commit
-
-
Mans Rullgard authored
Instead of inlining everything into ff_h264_hl_decode_mb(), use explicit templating to create versions of the called functions with constant parameters filled in. This greatly speeds up compilation of h264.c and reduces the code size without any measurable impact on performance. Compilation time for h264.c on an i7 goes from 30s to 5.5s. Code size is reduced by 430kB. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 03 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 02 Jul, 2012 1 commit
-
-
Michael Niedermayer authored
This function exports the exact sps.num_reorder_frames value Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 28 Jun, 2012 1 commit
-
-
Jeff Downs authored
Below fixes the maximum reference count check for second reference list in non-B frames. There is nothing to prohibit full (field sized) reference list in this case as far as I can tell, and this fixes several syntax-test files here (this is a regression caused when this check was made more stringent by http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dc9ce40069bde3d28f8d0b3e5bd733ae255fecb5) Probably a silly corner case seldom seen irl, but thought I'd pass along in case there was interest in correcting the check. --------------- h264: Fix maximum reference count check for non-b frames; full range is technically ok Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
This is based on: commit 30f51509 Author: Mans Rullgard <mans@mansr.com> h264: allow cropping to AVCodecContext.width/height The above commit is not taken as is as its buggy (incorrect handling of the interlaced case) and didnt apply cleanly. Fixes ticket156 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 09 Jun, 2012 1 commit
-
-
Mans Rullgard authored
Override the frame size from the SPS with AVCodecContext values if the latter specify a size smaller by less than one macroblock. This is required for correct cropping of MOV files from Canon cameras. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 05 Jun, 2012 1 commit
-
-
Carl Eugen Hoyos authored
-
- 02 Jun, 2012 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 31 May, 2012 2 commits
-
-
Michael Niedermayer authored
Fixes part of Ticket1369 Found-by: ami_stuff Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This fixes out of global array reads. The alternative solutions of checking the index or modifying the VLC tables to prevent the index going outside are each about 1-2 cpu cyclces slower per coded 4x4 block. The alternative of padding the global tables directly is more ugly and moving them to the context should benefit cache locality. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 02 May, 2012 1 commit
-
-
Ronald S. Bultje authored
Fixes crashes in codepaths not covered by original checks. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 18 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
This fixes a null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Apr, 2012 1 commit
-
-
Dale Curtis authored
During failure conditions ff_h264_decode_init() leaks memory allocated for nal units. Found via valgrind. Valgrind traces: http://pastebin.com/GqTqxs8TSigned-off-by:
Dale Curtis <dalecurtis@chromium.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Apr, 2012 1 commit
-
-
Diego Biurrun authored
-