[FFmpeg-cvslog] pthread_frame: remove some dead code

wm4 git at videolan.org
Tue Mar 21 07:41:03 EET 2017


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Sat Mar 18 09:36:20 2017 +0100| [2e5c52896b0a07dee714267ab5beab7ad0ae5c90] | committer: wm4

pthread_frame: remove some dead code

Whatever it was supposed to do.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2e5c52896b0a07dee714267ab5beab7ad0ae5c90
---

 libavcodec/pthread_frame.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index f959175..a521601 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);



More information about the ffmpeg-cvslog mailing list