]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pthread.c
Add operand size to add instructions.
[ffmpeg] / libavcodec / pthread.c
index 6d4ee549cbe32cb25bcd63c315c452ed31db4516..e662fb9caf75c39f024da20f139644274a369395 100644 (file)
@@ -55,7 +55,7 @@ typedef struct ThreadContext {
 } ThreadContext;
 
 /// Max number of frame buffers that can be allocated when using frame threads.
-#define MAX_BUFFERS 32
+#define MAX_BUFFERS (32+1)
 
 /**
  * Context used by codec threads and stored in their AVCodecContext thread_opaque.