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

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Mar 3 11:14:26 CET 2016

wm4 <nfxjfg <at> googlemail.com> writes:

> > +        st->id = (int) track->num;

> Might be better after all not to set the id if it's out of range?

Yes, please.

While there, the id field could be changed to 64bit with the 
next version bump.

Carl Eugen

More information about the ffmpeg-devel mailing list