void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,

                                          int err)

{

#if HAVE_THREADS

    pthread_mutex_lock(&mq->lock);

    mq->err_send = err;

    pthread_cond_broadcast(&mq->cond);

    pthread_mutex_unlock(&mq->lock);

#endif /* HAVE_THREADS */

}

void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,

                                          int err)

{

#if HAVE_THREADS

    pthread_mutex_lock(&mq->lock);

    mq->err_send = err;

    pthread_cond_broadcast(&mq->cond);

    pthread_mutex_unlock(&mq->lock);

#endif 

}

    pthread_cond_broadcast(&mq->cond);     pthread_cond_broadcast(&mq->cond);     pthread_cond_broadcast(&mq->cond);
void FUNC_0(AVThreadMessageQueue *VAR_0,

                                          int VAR_1)

{

#if HAVE_THREADS

    pthread_mutex_lock(&VAR_0->lock);

    VAR_0->err_send = VAR_1;

    pthread_cond_broadcast(&VAR_0->cond);

    pthread_mutex_unlock(&VAR_0->lock);

#endif 

}

void FUNC_0(AVThreadMessageQueue *VAR_0,
int VAR_1)
{ #if HAVE_THREADS
pthread_mutex_lock(&VAR_0->lock); VAR_0->err_send = VAR_1; pthread_cond_broadcast(&VAR_0->cond); pthread_mutex_unlock(&VAR_0->lock); #endif
}