[FFmpeg-devel] [PATCH 2/3] Metadata muxer

Aurelien Jacobs aurel
Sun Dec 26 22:09:40 CET 2010


On Sun, Dec 26, 2010 at 08:30:42PM +0100, Anton Khirnov wrote:
> [...]
> +AVOutputFormat ffmetadata_muxer = {
> +    "ffmetadata",
> +    NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"),
> +    NULL,
> +    "ffmeta",
> +    0,
> +    CODEC_ID_NONE,
> +    CODEC_ID_NONE,
> +    write_header,
> +    write_packet,
> +    write_trailer,
> +    .flags = AVFMT_NOTIMESTAMPS | AVFMT_NOSTREAMS,
> +};

Using designated initializers with nice vertical alignment would be
appreciated (same applies to the demuxer).
(no need to resend the patchset for this)

Aurel



More information about the ffmpeg-devel mailing list