avcodec/proresdec2: Don't apply non-zero offset to null pointer
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 26 Mar 2021 08:21:22 +0000 (09:21 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 1 Apr 2021 12:13:50 +0000 (14:13 +0200)
commitf83976344ecdc776ec827b06b19c2fcaa2b8ccdb
tree6f1c47d1b9aa2b39343f9717f599f9a87771ff3f
parent4863671d888273392e9dcc2429f3852c00330498
avcodec/proresdec2: Don't apply non-zero offset to null pointer

Affected ProRes without alpha; affected 32 FATE tests, e.g. prores-422,
prores-422_proxy, prores-422_lt or matroska-prores-header-insertion-bz2.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/proresdec2.c