[FFmpeg-soc] [soc] Remove dead code.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 15 17:44:53 CEST 2008


On Tue, Jul 15, 2008 at 04:19:27AM -0400, Alexander Strange wrote:
> ---
>  libavcodec/framethread.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> diff --git a/libavcodec/framethread.c b/libavcodec/framethread.c
> index a4bbad4..9aefe84 100644
> --- a/libavcodec/framethread.c
> +++ b/libavcodec/framethread.c
> @@ -188,8 +188,6 @@ void ff_report_decode_progress(AVFrame *f, int n)
>  
>      if (*progress >= n) return;
>  
> -    if (!USE_FRAME_THREADING(f->avctx)) {*progress = n; return;}
> -
>      pthread_mutex_lock(&p->progress_mutex);
>      *progress = n;
>      pthread_cond_broadcast(&p->progress_cond);


Shouldn't that be merged with "Set decoding progress as high as possible
when multithreading is off", which is the patch that actually replaces
that code?



More information about the FFmpeg-soc mailing list