aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/pthread_frame.c
diff options
context:
space:
mode:
authorwm42017-03-18 09:36:20 +0100
committerwm42017-03-21 06:17:43 +0100
commit2e5c52896b0a07dee714267ab5beab7ad0ae5c90 (patch)
tree2742a01f8d26fc917d4e4ea1b357372adb927a44 /libavcodec/pthread_frame.c
parente0cd598bc4684654d63942e9ff4872c0b48a7dc2 (diff)
pthread_frame: remove some dead code
Whatever it was supposed to do.
Diffstat (limited to 'libavcodec/pthread_frame.c')
-rw-r--r--libavcodec/pthread_frame.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index f959175db3..a52160145e 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -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);