[FFmpeg-devel] [PATCH 2/2] lavf: Add WebM DASH Manifest Muxer
Clément Bœsch
u at pkh.me
Tue Jul 1 01:00:17 CEST 2014
On Mon, Jun 30, 2014 at 03:44:37PM -0700, Vignesh Venkatasubramanian wrote:
[...]
> +static void write_string(AVFormatContext *s, const char *str, int should_free)
> +{
> + avio_write(s->pb, str, strlen(str));
> + if (should_free)
> + av_free((char*)str);
> +}
Why not use avio_printf() instead of some weird jungling with
av_asprintf() and should_free?
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140701/b64d9479/attachment.asc>
More information about the ffmpeg-devel
mailing list