mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
pthread_frame: remove some dead code
Whatever it was supposed to do.
This commit is contained in:
parent
e0cd598bc4
commit
2e5c52896b
@ -199,13 +199,7 @@ static attribute_align_arg void *frame_worker_thread(void *arg)
|
||||
}
|
||||
|
||||
pthread_mutex_lock(&p->progress_mutex);
|
||||
#if 0 //BUFREF-FIXME
|
||||
for (i = 0; i < MAX_BUFFERS; i++)
|
||||
if (p->progress_used[i] && (p->got_frame || p->result<0 || avctx->codec_id != AV_CODEC_ID_H264)) {
|
||||
p->progress[i][0] = INT_MAX;
|
||||
p->progress[i][1] = INT_MAX;
|
||||
}
|
||||
#endif
|
||||
|
||||
atomic_store(&p->state, STATE_INPUT_READY);
|
||||
|
||||
pthread_cond_broadcast(&p->progress_cond);
|
||||
|
Loading…
Reference in New Issue
Block a user