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:
Marvin Scholz
2026-04-21 22:39:12 +02:00
parent eec78bdac1
commit 3daf664a5a
-3
View File
@@ -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: