mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-07-07 03:53:18 +00:00
e662b263d9c500270a8f1dc7e1b81b51d5bdfd4e
avpicture_get_size() returns the size of buffer required for avpicture_layout. For pseudo-paletted formats (gray8...) this size does not include the palette. However, avpicture_layout doesn't know this and still writes the palette. Consequently, avpicture_layout writes passed the length of the buffer. This fixes it by fixing avpicture_layout so that it doesn't write the palette for these formats. Signed-off-by: Matthew Einhorn <moiein2000@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Description
MIRROR: FFmpeg is a collection of libraries and tools to process multimedia content
270 MiB
Languages
C
89%
Assembly
8.4%
Makefile
1.4%
GLSL
0.4%
C++
0.3%
Other
0.3%