Skip to content

Commit d503061

Browse files
author
ObaidAbdullah16
committed
Fix: Apply clang-format for proper indentation
1 parent 3d9858e commit d503061

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/lib_ccx/wtv_functions.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ LLONG get_data(struct lib_ccx_ctx *ctx, struct wtv_chunked_buffer *cb, struct de
366366
// Read the 32 bytes containing the GUID and length and stream_id info
367367
if (get_sized_buffer(ctx->demux_ctx, cb, 32) < 0)
368368
{
369-
mprint("Error: Failed to read WTV buffer at line 367\n");
370-
return -1;
369+
mprint("Error: Failed to read WTV buffer at line 367\n");
370+
return -1;
371371
}
372372
if (cb->buffer == NULL)
373373
return CCX_EOF;
@@ -429,9 +429,9 @@ LLONG get_data(struct lib_ccx_ctx *ctx, struct wtv_chunked_buffer *cb, struct de
429429
uint32_t read_size = (len > 96) ? 96 : len;
430430
if (get_sized_buffer(ctx->demux_ctx, cb, read_size) < 0)
431431
{
432-
mprint("Error: Failed to read WTV buffer at line 426\n");
433-
return -1;
434-
}
432+
mprint("Error: Failed to read WTV buffer at line 426\n");
433+
return -1;
434+
}
435435
if (cb->buffer == NULL)
436436
return CCX_EOF;
437437
static unsigned char stream_type[16];
@@ -486,8 +486,8 @@ LLONG get_data(struct lib_ccx_ctx *ctx, struct wtv_chunked_buffer *cb, struct de
486486
dbg_print(CCX_DMT_PARSE, "WTV TIMING\n");
487487
if (get_sized_buffer(ctx->demux_ctx, cb, 0x8 + 0x8) < 0)
488488
{
489-
mprint("Error: Failed to read WTV buffer at line 479\n");
490-
return -1;
489+
mprint("Error: Failed to read WTV buffer at line 479\n");
490+
return -1;
491491
}
492492
if (cb->buffer == NULL)
493493
return CCX_EOF;
@@ -526,8 +526,8 @@ LLONG get_data(struct lib_ccx_ctx *ctx, struct wtv_chunked_buffer *cb, struct de
526526
dbg_print(CCX_DMT_PARSE, "\nWTV DATA\n");
527527
if (get_sized_buffer(ctx->demux_ctx, cb, len) < 0)
528528
{
529-
mprint("Error: Failed to read WTV buffer at line 515\n");
530-
return -1;
529+
mprint("Error: Failed to read WTV buffer at line 515\n");
530+
return -1;
531531
}
532532
if (cb->buffer == NULL)
533533
return CCX_EOF;
@@ -551,8 +551,8 @@ LLONG get_data(struct lib_ccx_ctx *ctx, struct wtv_chunked_buffer *cb, struct de
551551
{
552552
if (get_sized_buffer(ctx->demux_ctx, cb, len) < 0)
553553
{
554-
mprint("Error: Failed to read WTV buffer at line 536\n");
555-
return -1;
554+
mprint("Error: Failed to read WTV buffer at line 536\n");
555+
return -1;
556556
}
557557
if (cb->buffer == NULL)
558558
return CCX_EOF;

0 commit comments

Comments
 (0)