diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-26 09:15:38 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-26 09:31:02 -0400 |
commit | 69645c021ad2cc503769b44b9008f98b014423de (patch) | |
tree | f4855f0e0163fc927da0fea51216ad954303e936 /libswscale/swscale_internal.h | |
parent | 522d65ba259a263d0cd91db27b79c07e13d7fcf2 (diff) | |
download | ffmpeg-streaming-69645c021ad2cc503769b44b9008f98b014423de.zip ffmpeg-streaming-69645c021ad2cc503769b44b9008f98b014423de.tar.gz |
swscale: replace formatConvBuffer[VOF] by allocated array.
This allows to convert between formats of arbitrary width,
regardless of the value of VOF/VOFW.
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5f2ff94..1e52ea2 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -122,7 +122,7 @@ typedef struct SwsContext { int chrBufIndex; ///< Index in ring buffer of the last scaled horizontal chroma line from source. //@} - uint8_t formatConvBuffer[VOF]; //FIXME dynamic allocation, but we have to change a lot of code for this to be useful + uint8_t *formatConvBuffer; /** * @name Horizontal and vertical filters. |