mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec: cbs_lcevc: remove dead code
The error is already handled before the loop, so this can never be true. Fix Coverity issue 1683139
This commit is contained in:
@@ -455,9 +455,6 @@ static int cbs_lcevc_read_nal_unit(CodedBitstreamContext *ctx,
|
||||
return AVERROR(ENOMEM);
|
||||
slice->data = unit->data + slice->header_size;
|
||||
}
|
||||
|
||||
if (err < 0)
|
||||
return err;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user