aboutsummaryrefslogtreecommitdiffstats
path: root/Changelog
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2017-11-13 21:11:27 -0800
committerPhilip Langdale <philipl@overt.org>2017-11-14 19:39:06 -0800
commitbb4c9d0a8ead02f7d943c2bae3e36b30e605b30b (patch)
tree21cc04abb0531f74a9693167a756862de7247486 /Changelog
parent54f8ac199fe38b2837146621963bb543868130be (diff)
downloadffmpeg-bb4c9d0a8ead02f7d943c2bae3e36b30e605b30b.tar.gz
avcodec: Don't assume separate u and v planes in ff_alloc_picture
alloc_frame_buffer in ff_alloc_picture asserts that the linesize of planes 1 and 2 are the same. If the pixfmt has a single uv plane, like NV12, this won't be true. So, let's only do this check if there are more than 2 planes. We never hit this with previous hw formats because they don't set linesize to meaningful values, but the cuda hw format sets the values based on the underlying data layout.
Diffstat (limited to 'Changelog')
0 files changed, 0 insertions, 0 deletions