- 19 Mar, 2013 2 commits
-
-
Hendrik Leppkes authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Hendrik Leppkes authored
This restores the performance of simple frame-threaded codecs back to their pre-merge levels. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 13 Mar, 2013 1 commit
-
-
Clément Bœsch authored
Coccinelle profile used: @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_get_buffer(ctx, f, flags)) < 0) + return r; @@ expression r, ctx, f, loglevel, str; @@ -if ((r = ff_reget_buffer(ctx, f)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_reget_buffer(ctx, f)) < 0) + return r; @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) + return r; ...along with some manual patches for the remaining ones.
-
- 12 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
-
- 11 Mar, 2013 1 commit
-
-
Anton Khirnov authored
Fixes memleaks when frame mt is used and the decoder is not flushed at the end.
-
- 08 Mar, 2013 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 29 Jan, 2013 1 commit
-
-
Anton Khirnov authored
I.e. don't do anything on already released frames.
-
- 13 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Dec, 2012 1 commit
-
-
Clément Bœsch authored
This fixes the following warning with GCC: libavcodec/pthread.c:35:0: warning: _GNU_SOURCE redefined [enabled by default] <command-line>::0: note: this is the location of the previous definition The reason of the presence of this flag is: % pkg-config --cflags sdl -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
-
- 04 Dec, 2012 1 commit
-
-
Anton Khirnov authored
It will be useful in the upcoming transition to refcounted AVFrames.
-
- 19 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
This might fix a hypothetical memleak Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 25 Sep, 2012 1 commit
-
-
Anton Khirnov authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 14 Sep, 2012 1 commit
-
-
Ben Jackson authored
pthread_wait_cond can wake up for no reason (Wikipedia: Spurious_wakeup). The FF_THREAD_SLICE thread mechanism could spontaneously execute jobs or allow the caller of avctx->execute to return before all jobs were complete. This adds tests to both cases to ensure the wakeup is real. Signed-off-by:
Ben Jackson <ben@ben.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Aug, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 15 Aug, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Jul, 2012 1 commit
-
-
Michael Niedermayer authored
No speed difference was meassureable Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 19 Jul, 2012 1 commit
-
-
Clément Bœsch authored
-
- 22 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 14 Jun, 2012 1 commit
-
-
Diego Biurrun authored
We generally do not declare variables within for statements and there are compilers that choke on such constructs.
-
- 07 May, 2012 1 commit
-
-
Sean McGovern authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 21 Apr, 2012 1 commit
-
-
Mans Rullgard authored
This removes all references to AVCodecContext.dsp_mask and marks it for eviction at the next version bump. It has been superseded by av_set_cpu_flag_mask() which, unlike this field, works everywhere. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 13 Apr, 2012 2 commits
-
-
Dale Curtis authored
corrects invalid return when avpkt->size == 0. Reproducible with test case and ffplay -threads 2. Stack trace: http://pastebin.com/PexZ4Uc0 Test case: http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogmSigned-off-by:
Dale Curtis <dalecurtis@chromium.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Dale Curtis authored
Reproducible with test case and ffplay -threads 2. Stack trace: http://pastebin.com/PexZ4Uc0 Test case: http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogmSigned-off-by:
Dale Curtis <dalecurtis@chromium.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 25 Mar, 2012 2 commits
-
-
Aaron Colwell authored
Reviewed-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Marton Balint authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 24 Mar, 2012 3 commits
-
-
Alexander Strange authored
Before this, they were only added to the delayed release queue and not freed until later. This could lead to unnecessary memory use or buffer exhaustion. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Else we run out of progress variables after a few failed buffer allocations. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Ronald S. Bultje authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 23 Mar, 2012 1 commit
-
-
Michael Niedermayer authored
This fixes race conditions that ultimately lead to memory corruption. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Mar, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 16 Mar, 2012 1 commit
-
-
Uoti Urpala authored
Calling avcodec_flush_buffers() and then avcodec_decode_video2() with a 0-sized packet (to get remaining buffered frames) could incorrectly return an old frame from before the avcodec_flush_buffers() call. Add a loop in ff_thread_flush() to zero the got_frame field of each thread to ensure the old frames will not be returned. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 04 Mar, 2012 1 commit
-
-
Anton Khirnov authored
In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
-
- 27 Feb, 2012 1 commit
-
-
Anton Khirnov authored
Put related fields together, move the important ones closer to the beginning, try to eliminate holes.
-
- 12 Feb, 2012 2 commits
-
-
Michael Niedermayer authored
The cleanup is only done now when a picture is returned (assuming that it has to be done when its returned) a error is returned (assuming that there will be no further progress on the frame) the codec is not h264 (this is still needed due to some deadlocks in realvideo) This fixes a decoding regression with 00017.MTS Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This order is more logic and might prevent a race. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Jan, 2012 2 commits
-
-
Michael Niedermayer authored
Fixes bug118, bug120 and bug125 at least Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This fixes memory corruption when seeking in broken streams. a random mpeg4 in nut file was used to debug. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 22 Jan, 2012 1 commit
-
-
Michael Niedermayer authored
have been seen waiting and deadlocking on it in bug125. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 21 Jan, 2012 1 commit
-
-
Janne Grunau authored
They are used to signal the number of slices and offsets of each slice out of band to the decoder.
-