From ebf4750200d5c6512605d58ba702775d4f52c53f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 19 Nov 2012 17:31:12 +0100 Subject: [PATCH] pthreads: increase MAX_BUFFERS due to 24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7 This might fix a hypothetical memleak Signed-off-by: Michael Niedermayer --- libavcodec/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index c0a872eba0..9a52924d3d 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.