[FFmpeg-cvslog] r24592 - trunk/libavfilter/avfilter.h

stefano subversion
Fri Jul 30 10:42:25 CEST 2010


Author: stefano
Date: Fri Jul 30 10:42:25 2010
New Revision: 24592

Log:
Resize AVFilterBuffer to hold 8 planes/linesizes worth of data.

This is required for making AVFilterBuffer useful for storing audio
data.

Patch by S.N. Hemanth Meenakshisundaram revert <ude.dscu at skaneems>.

Modified:
   trunk/libavfilter/avfilter.h

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	Fri Jul 30 10:42:22 2010	(r24591)
+++ trunk/libavfilter/avfilter.h	Fri Jul 30 10:42:25 2010	(r24592)
@@ -25,8 +25,8 @@
 #include "libavutil/avutil.h"
 
 #define LIBAVFILTER_VERSION_MAJOR  1
-#define LIBAVFILTER_VERSION_MINOR 26
-#define LIBAVFILTER_VERSION_MICRO  2
+#define LIBAVFILTER_VERSION_MINOR 27
+#define LIBAVFILTER_VERSION_MICRO  0
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
                                                LIBAVFILTER_VERSION_MINOR, \
@@ -66,8 +66,8 @@ typedef struct AVFilterPad     AVFilterP
  */
 typedef struct AVFilterBuffer
 {
-    uint8_t *data[4];           ///< buffer data for each plane
-    int linesize[4];            ///< number of bytes per line
+    uint8_t *data[8];           ///< buffer data for each plane/channel
+    int linesize[8];            ///< number of bytes per line
     int format;                 ///< media format
 
     unsigned refcount;          ///< number of references to this buffer



More information about the ffmpeg-cvslog mailing list