diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-07 20:41:35 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-08 11:20:31 +0100 |
commit | 5ccdb907c120cbd7f58d09cd523ba39fce8608b2 (patch) | |
tree | 6f9fc85ea7465fa81a06d1d00487bb5ee2fe2226 /ffprobe.c | |
parent | ec624d7c5cbc69a1c91d552926a0f04016d12e50 (diff) | |
download | ffmpeg-5ccdb907c120cbd7f58d09cd523ba39fce8608b2.tar.gz |
ffprobe: use more meaningful names for writer chapter/section header/footer function
The passed argument is supposed to be the chapter/section name, rather
than the header/footer. Less confusing.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -232,34 +232,34 @@ static inline void writer_print_footer(WriterContext *wctx) } static inline void writer_print_chapter_header(WriterContext *wctx, - const char *header) + const char *chapter) { if (wctx->writer->print_chapter_header) - wctx->writer->print_chapter_header(wctx, header); + wctx->writer->print_chapter_header(wctx, chapter); wctx->nb_section = 0; } static inline void writer_print_chapter_footer(WriterContext *wctx, - const char *footer) + const char *chapter) { if (wctx->writer->print_chapter_footer) - wctx->writer->print_chapter_footer(wctx, footer); + wctx->writer->print_chapter_footer(wctx, chapter); wctx->nb_chapter++; } static inline void writer_print_section_header(WriterContext *wctx, - const char *header) + const char *section) { if (wctx->writer->print_section_header) - wctx->writer->print_section_header(wctx, header); + wctx->writer->print_section_header(wctx, section); wctx->nb_item = 0; } static inline void writer_print_section_footer(WriterContext *wctx, - const char *footer) + const char *section) { if (wctx->writer->print_section_footer) - wctx->writer->print_section_footer(wctx, footer); + wctx->writer->print_section_footer(wctx, section); wctx->nb_section++; } |