[FFmpeg-devel] [PATCH] Use matroska TrackNumber for populating AVStream::id

Moritz Barsnick barsnick at gmx.net
Thu Mar 10 10:23:16 CET 2016


On Wed, Mar 09, 2016 at 15:56:53 -0800, Sergey Volk wrote:
> -    if (fmt_ctx->iformat->flags & AVFMT_SHOW_IDS) print_fmt    ("id",
> "0x%x", stream->id);
> +#if FF_API_OLD_INT32_STREAM_ID
> +#define STREAM_ID_FORMAT "0x%x"
> +#else
> +#define STREAM_ID_FORMAT "0x%"PRIx64
> +#endif
> +    if (fmt_ctx->iformat->flags & AVFMT_SHOW_IDS) print_fmt    ("id",
> STREAM_ID_FORMAT, stream->id);
> +#undef STREAM_ID_FORMAT

>From pure visual inspection, I believe your patch got broken (wrapped
lines) by your mailer agent or something along the line.

Moritz


More information about the ffmpeg-devel mailing list