Skip to content

Commit b5fc3e6

Browse files
authored
Merge pull request #1924 from Harshdhall01/cleanup-vcl-hrd-todo
Looks good! The explanation is clearer and removing the dead code (commented exit) is a nice cleanup. Tests pass. Merging - thanks!
2 parents a9413a2 + 8bf1bc1 commit b5fc3e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib_ccx/avc_functions.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -903,10 +903,10 @@ void seq_parameter_set_rbsp(struct avc_ctx *ctx, unsigned char *seqbuf, unsigned
903903
dvprint("vcl_hrd_parameters_present_flag= %llX\n", tmp1);
904904
if (tmp)
905905
{
906-
// TODO.
907-
mprint("vcl_hrd. Not implemented for now. Hopefully not needed. Skipping rest of NAL\n");
906+
// VCL HRD parameters are for video buffering compliance, not needed for caption extraction.
907+
// Just skip and continue - this doesn't affect our ability to extract captions.
908+
mprint("Skipping VCL HRD parameters (not needed for caption extraction)\n");
908909
ctx->num_vcl_hrd++;
909-
// exit(1);
910910
}
911911
if (tmp || tmp1)
912912
{

0 commit comments

Comments
 (0)