avfilter/vf_shufflepixels: Check ff_get_video_buffer()
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 22 Jul 2021 07:24:20 +0000 (09:24 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 23 Jul 2021 13:06:21 +0000 (15:06 +0200)
commitc4042fc1e3c3b43630c601d3b8c9ea8fc7381f1f
treeeb0dd82950001b5731edc30b833b93f8b48f6801
parent046cbd255eb748e592d1ad3d5f45d9a306692a10
avfilter/vf_shufflepixels: Check ff_get_video_buffer()

There would be a segfault in case of (likely memory allocation) failure.
Fixes Coverity issue #1322338.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavfilter/vf_shufflepixels.c