]> git.sesse.net Git - ffmpeg/commit
avcodec/speedhq: Don't pretend reading DC can fail
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 12 Oct 2020 02:08:07 +0000 (04:08 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 12 Oct 2020 20:17:22 +0000 (22:17 +0200)
commit7b6acfa68f034c6e2cf2455dbc0f96d959ef36b0
treec58c903badb4012a30365fb7dfc90c3b5aec5d06
parent57eee75c3fd075e555df122f1abc45ca636a2726
avcodec/speedhq: Don't pretend reading DC can fail

It can't, because the tables used don't have any loose ends. This also
fixes a bug in the only caller of decode_dc_le(): It didn't check the
return value.

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