diff options
author | wm4 <wm4@nowhere> | 2014-09-21 09:33:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-21 09:33:51 +0200 |
commit | 1cf229f4623ec302afb71ab93f44f273ffb1a515 (patch) | |
tree | c6bf7d642ec44f31ab85912d56734195de5237f3 /player/configfiles.c | |
parent | bb005a385a937bc2a50233bb4f3f99188674c890 (diff) | |
download | mpv-1cf229f4623ec302afb71ab93f44f273ffb1a515.tar.bz2 mpv-1cf229f4623ec302afb71ab93f44f273ffb1a515.tar.xz |
video: fix some vo_direct3d crashes due to FFmpeg nonsense
For incomprehensible reasons, AV_PIX_FMT_GRAY8 (and some others) have a
palette. This literally makes no sense and this issue has bitten us
before, but it is how it is.
This also caused a crash with vo_direct3d: this mapped a texture as
IMGFMT_Y8 (i.e. AV_PIX_FMT_GRAY8), and when copying this, it tried to
copy the non-existent palette.
Fixes #1113.
Diffstat (limited to 'player/configfiles.c')
0 files changed, 0 insertions, 0 deletions