1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 7e8306dd2d 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>
2020-11-10 02:14:29 +01:00
..
2020-11-09 14:58:38 +10:00
2020-09-18 11:34:11 +02:00
2020-11-09 14:58:38 +10:00
2020-10-15 22:53:56 +02:00
2020-11-02 22:57:23 +00:00
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
2020-10-24 19:11:12 +02:00
2020-11-10 02:14:29 +01:00
2020-11-02 22:57:23 +00:00
2020-10-24 16:50:29 +02:00
2020-11-02 22:57:23 +00:00
2020-11-03 16:21:10 +01:00
2020-10-19 05:15:00 +02:00
2020-11-02 22:57:23 +00:00
2020-11-02 22:57:23 +00:00
2020-11-02 22:57:23 +00:00
2020-10-23 10:37:04 +02:00
2020-10-16 00:38:50 +02:00