diff options
author | wm4 <wm4@nowhere> | 2013-12-01 20:45:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-01 20:51:38 +0100 |
commit | f30c2c99d16527c045caee90c9f7b2a7a7c85c00 (patch) | |
tree | dbd298a731a3c142519c2c276f6f244afdf17e85 /stream/stream.h | |
parent | 1136a8b6acf65c6345d8a25dbc56e9228d14e11a (diff) | |
download | mpv-f30c2c99d16527c045caee90c9f7b2a7a7c85c00.tar.bz2 mpv-f30c2c99d16527c045caee90c9f7b2a7a7c85c00.tar.xz |
mp_image: deal with FFmpeg PSEUDOPAL braindeath
We got a crash in libavutil when encoding with Y8 (GRAY8). The reason
was that libavutil was copying an Y8 image allocated by us, and expected
a palette. This is because GRAY8 is a PSEUDOPAL format. It's not clear
what PSEUDOPAL means, and it makes literally no sense at all. However,
it does expect a palette allocated for some formats that are not
paletted, and libavutil crashed when trying to access the non-existent
palette.
Diffstat (limited to 'stream/stream.h')
0 files changed, 0 insertions, 0 deletions