aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/textformat/avtextwriters.h
Commit message (Collapse)AuthorAgeFilesLines
* fftools/textformat: correctly propagate uninit error codesMarton Balint2025-05-161-1/+1
| | | | | | This allows catching IO errors occuring at file close. Signed-off-by: Marton Balint <cus@passwd.hu>
* Revert "fftools/textformat/avtextformat: Make close functions return void"Marton Balint2025-05-161-1/+1
| | | | | This reverts commit 7684243fbe6e84fecb4a039195d5fda8a006a2a4 and a888975a3c25760027cd59932f5c1ad04368db8b.
* fftools/textformat: Introduce common header and deduplicate codesoftworkz2025-05-151-1/+1
| | | | | | | | | Also change writer_printf signature in AVTextWriter to use va_list, so that it can be called by the new function writer_printf() in tf_internal.h. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: softworkz <softworkz@hotmail.com>
* fftools/textformat: Remove unused print_rational() pointer from AVTextFormattersoftworkz2025-05-151-5/+0
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: softworkz <softworkz@hotmail.com>
* fftools/textformat: Apply formatting and whitespace changessoftworkz2025-05-151-6/+5
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: softworkz <softworkz@hotmail.com>
* fftools/textformat/avtextformat: Make close functions return voidAndreas Rheinhardt2025-04-161-1/+1
| | | | | | | Just like normal close functions. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* textformat/tw_avio: Remove close_on_uninit param from create_fileAndreas Rheinhardt2025-04-161-1/+1
| | | | | | | | | | avtextwriter_create_file() creates an AVIOContext whose pointer resides in its private context. If it were not always closed on uninit, the AVIOContext would leak, so it makes no sense to have this parameter. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/textformat: Extract and generalize textformat api from ffprobe.csoftworkz2025-04-111-0/+68
Signed-off-by: softworkz <softworkz@hotmail.com>