Skip to content

Conversation

@jeffsieu
Copy link

No description provided.

int do_cb (struct lib_cc_decode *ctx, unsigned char *cc_block, struct cc_subtitle *sub);
void printdata (struct lib_cc_decode *ctx, const unsigned char *data1, int length1,
const unsigned char *data2, int length2, struct cc_subtitle *sub);
const unsigned char *data2, int length2, struct cc_subtitle *sub);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it less readable

unsigned char *data[2];
int linesize[2];
#ifdef ENABLE_OCR
#ifdef ENABLE_OCR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ifdef's are supposed to be on that level of indentation

unsigned dvb_sub_pid[SUB_STREAMS_CNT];
unsigned tlt_sub_pid[SUB_STREAMS_CNT];
unsigned mp4_cc_track_cnt;
unsigned program_cnt;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it less legible.

@cfsmp3
Copy link
Contributor

cfsmp3 commented Dec 15, 2016

Too many files affected and formatting doesn't really improve.
Smaller is better.

@cfsmp3 cfsmp3 closed this Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants