mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-22 01:05:05 +02:00
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
This commit is contained in:
parent
ecc7bfe30c
commit
56b5e9d5a9
@ -25,8 +25,8 @@
|
|||||||
#include "libavutil/avutil.h"
|
#include "libavutil/avutil.h"
|
||||||
|
|
||||||
#define LIBAVFILTER_VERSION_MAJOR 1
|
#define LIBAVFILTER_VERSION_MAJOR 1
|
||||||
#define LIBAVFILTER_VERSION_MINOR 26
|
#define LIBAVFILTER_VERSION_MINOR 27
|
||||||
#define LIBAVFILTER_VERSION_MICRO 2
|
#define LIBAVFILTER_VERSION_MICRO 0
|
||||||
|
|
||||||
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
||||||
LIBAVFILTER_VERSION_MINOR, \
|
LIBAVFILTER_VERSION_MINOR, \
|
||||||
@ -66,8 +66,8 @@ typedef struct AVFilterPad AVFilterPad;
|
|||||||
*/
|
*/
|
||||||
typedef struct AVFilterBuffer
|
typedef struct AVFilterBuffer
|
||||||
{
|
{
|
||||||
uint8_t *data[4]; ///< buffer data for each plane
|
uint8_t *data[8]; ///< buffer data for each plane/channel
|
||||||
int linesize[4]; ///< number of bytes per line
|
int linesize[8]; ///< number of bytes per line
|
||||||
int format; ///< media format
|
int format; ///< media format
|
||||||
|
|
||||||
unsigned refcount; ///< number of references to this buffer
|
unsigned refcount; ///< number of references to this buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user