ffprobe: rework/fix ini writer
authorStefano Sabatini <stefasab@gmail.com>
Wed, 26 Sep 2012 22:34:16 +0000 (00:34 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sat, 29 Sep 2012 08:25:11 +0000 (10:25 +0200)
commit74bd0cf49c9c0bee8d4f3d3a98a7343c2ff5b94c
tree2e9d002009a99904d58a2ccb17f61164f9b13244
parent01e4537f66c6d054f8c7bdbdd5b3cfb4220d12fe
ffprobe: rework/fix ini writer

Do not build from scratch the section header for each section, but build
it using the previous level buffer, thus improving efficiency.

Also fix some few corner cases related to numbering which are exposed by
the pending disposition patch.
ffprobe.c