aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-05 21:35:56 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-10 02:14:29 +0100
commit7e8306dd2da54fa499ea79a74f0ba81507e6c9d4 (patch)
treeac40b4c4be31beb6d8b4b2e6047196621da4cba9 /RELEASE
parentd2dcb113f8e4e6e372007a354a600e6c2579ea8b (diff)
downloadffmpeg-7e8306dd2da54fa499ea79a74f0ba81507e6c9d4.tar.gz
avcodec/gdv: Remove dead check
At the end of its decode function, the decoder sets *got_frame to 1 and then checks whether ret is < 0; if so, it is returned, otherwise avpkt->size is. But it is impossible for ret to be < 0 here and if it were, it would be nonsense to set *got_frame to 1 before this. Therefore just return avpkt->size unconditionally. Fixes Coverity issue #1439730. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'RELEASE')
0 files changed, 0 insertions, 0 deletions