[FFmpeg-cvslog] ffprobe: use more meaningful names for writer chapter/section header/ footer function
Stefano Sabatini
git at videolan.org
Sun Jan 8 11:24:14 CET 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Jan 7 20:41:35 2012 +0100| [5ccdb907c120cbd7f58d09cd523ba39fce8608b2] | committer: Stefano Sabatini
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ccdb907c120cbd7f58d09cd523ba39fce8608b2
---
ffprobe.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index a76e98e..d158ae9 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -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++;
}
More information about the ffmpeg-cvslog
mailing list