[FFmpeg-devel] [PATCH 2/3] bufferqueue: allow to add fields to the structure.
Nicolas George
nicolas.george at normalesup.org
Thu May 31 21:59:17 CEST 2012
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavfilter/bufferqueue.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavfilter/bufferqueue.h b/libavfilter/bufferqueue.h
index a27fb86..c68fb04 100644
--- a/libavfilter/bufferqueue.h
+++ b/libavfilter/bufferqueue.h
@@ -50,6 +50,9 @@ struct FFBufQueue {
AVFilterBufferRef *queue[FF_BUFQUEUE_SIZE];
unsigned short head;
unsigned short available; /**< number of available buffers */
+#ifdef FF_BUFQUEUE_EXTRA_FIELDS
+ FF_BUFQUEUE_EXTRA_FIELDS
+#endif
};
#define BUCKET(i) queue->queue[(queue->head + (i)) % FF_BUFQUEUE_SIZE]
--
1.7.10
More information about the ffmpeg-devel
mailing list