Skip to content

Commit 1d9f322

Browse files
cfsmp3claude
andcommitted
docs: Add doxygen comments to should_accept_page function
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent cbb5f0b commit 1d9f322

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/lib_ccx/telxcc.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,12 @@ void process_page(struct TeletextCtx *ctx, teletext_page_t *page, struct cc_subt
900900
fflush(stderr);
901901
}
902902

903-
// Helper function to check if a page should be accepted for extraction (issue #665)
904-
// Returns 1 if the page should be accepted, 0 otherwise
903+
/**
904+
* Helper function to check if a page should be accepted for extraction (issue #665)
905+
* @param page_number The teletext page number in BCD format
906+
* @param is_subtitle_page Whether this page is marked as a subtitle page
907+
* @return 1 if the page should be accepted, 0 otherwise
908+
*/
905909
static int should_accept_page(uint16_t page_number, int is_subtitle_page)
906910
{
907911
// If extract_all_pages is set, accept all subtitle pages

0 commit comments

Comments
 (0)