Commit 7d688d85 authored by michael's avatar michael

10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3161 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 92173052
......@@ -87,7 +87,7 @@ void avcodec_thread_free(AVCodecContext *avctx)
pthread_mutex_lock(&c->current_job_lock);
c->done = 1;
pthread_cond_signal(&c->current_job_cond);
pthread_cond_broadcast(&c->current_job_cond);
pthread_mutex_unlock(&c->current_job_lock);
for (i=0; i<avctx->thread_count; i++)
......@@ -97,7 +97,7 @@ void avcodec_thread_free(AVCodecContext *avctx)
pthread_cond_destroy(&c->current_job_cond);
pthread_cond_destroy(&c->last_job_cond);
av_free(c->workers);
av_freep(c);
av_free(c);
}
int avcodec_thread_execute(AVCodecContext *avctx, action_t* func, void **arg, int *ret, int job_count)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment