pthreads: increase MAX_BUFFERS due to 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 16:31:12 +0000 (17:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 16:32:13 +0000 (17:32 +0100)
This might fix a hypothetical memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pthread.c

index c0a872e..9a52924 100644 (file)
@@ -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.