[FFmpeg-cvslog] pthreads: increase MAX_BUFFERS due to 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7

Michael Niedermayer git at videolan.org
Mon Nov 19 18:30:10 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 19 17:31:12 2012 +0100| [ebf4750200d5c6512605d58ba702775d4f52c53f] | committer: Michael Niedermayer

pthreads: increase MAX_BUFFERS due to 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7

This might fix a hypothetical memleak

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/pthread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index c0a872e..9a52924 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -85,7 +85,7 @@ typedef struct ThreadContext {
 } ThreadContext;
 
 /// Max number of frame buffers that can be allocated when using frame threads.
-#define MAX_BUFFERS (32+1)
+#define MAX_BUFFERS (34+1)
 
 /**
  * Context used by codec threads and stored in their AVCodecContext thread_opaque.



More information about the ffmpeg-cvslog mailing list