diff options
author | S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> | 2010-07-30 08:42:25 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-30 08:42:25 +0000 |
commit | 56b5e9d5a90a10a1b7d6abc53674c43214d462d0 (patch) | |
tree | 123ddc6ffc12ae738e5da7a228e7f6ab44cfb850 | |
parent | ecc7bfe30c595cbe14a2b77db647e9fec1bc5d79 (diff) | |
download | ffmpeg-56b5e9d5a90a10a1b7d6abc53674c43214d462d0.tar.gz |
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@skaneems>.
Originally committed as revision 24592 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/avfilter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 7d639cfe3b..eceb76f2a7 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -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 AVFilterPad; */ 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 |