Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Sep 26, 2023
1 parent 62d1e8d commit 36bee73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib_ccx/ccx_decoders_708_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ void dtvcc_change_pen_attribs(dtvcc_tv_screen *tv, dtvcc_pen_attribs pen_attribs

size_t write_utf16_char(unsigned short utf16_char, char *out)
{
// Always write 2 bytes for UTF-16BE
out[0] = (char)((utf16_char >> 8) & 0xFF);
out[1] = (char)(utf16_char & 0xFF);
return 2;
// Always write 2 bytes for UTF-16BE
out[0] = (char)((utf16_char >> 8) & 0xFF);
out[1] = (char)(utf16_char & 0xFF);
return 2;
}

void dtvcc_write_row(dtvcc_writer_ctx *writer, dtvcc_service_decoder *decoder, int row_index, struct encoder_ctx *encoder, int use_colors)
Expand Down

0 comments on commit 36bee73

Please sign in to comment.