mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-30 13:54:39 +00:00
dvbsub_parse_clut_segment: Changed return on fail (from 0 to -1, as expected by the caller).
This commit is contained in:
parent
12467815ae
commit
85751cee2b
@ -1128,7 +1128,7 @@ static int dvbsub_parse_clut_segment(void *dvb_ctx, const uint8_t *buf,
|
||||
if (depth == 0)
|
||||
{
|
||||
mprint("Invalid clut depth 0x%x!\n", *buf);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
full_range = (*buf++) & 1;
|
||||
|
Loading…
Reference in New Issue
Block a user