[FFmpeg-devel] Metadata outputs null-terminated strings

Sami Hult sami.hult at gmail.com
Fri Jul 8 13:33:38 EEST 2016


Let me rephrase: avio_put_str, which in my patch is used instead of
(forbidden) printf, outputs the terminating null-character with the string.


On 8 July 2016 at 13:12, Sami Hult <sami.hult at gmail.com> wrote:

> Hi all,
>
> metadata filter seems to output null-terminated strings (i.e.
> "frame:14\n\0pts:9\n\0"), which I noticed first when trying to regex-match
> them. Is this intended behavior and if it is, what is the rationale?
>
> Sami
>
> --
> Mannilantie 37 B 11, 04400 58, tel. +358-46-539-6617
>



-- 
Mannilantie 37 B 11, 04400 58, tel. +358-46-539-6617


More information about the ffmpeg-devel mailing list