]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Change signature of mkv_write_track()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 18 Jan 2020 08:31:01 +0000 (09:31 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 13 Apr 2020 07:09:25 +0000 (09:09 +0200)
commit59e3a9aede5e2f9271c82583d8724c272ce33a0a
treee7ab2ca0a57881fab4c33c87c42bb7c1f04b68c9
parent385964409a62158c7ad5226f1c1d4adc160ea830
avformat/matroskaenc: Change signature of mkv_write_track()

Up until now, mkv_write_track() received the index of the stream whose
header data it is about to write as parameter; this index has until
recently been explicitly used to generate both TrackNumber and TrackUID.
But this is no longer so and as there is no reason why the function
for writing a single TrackEntry should even know the index of the
TrackEntry it is about to write, said index is replaced in the list of
function parameters by the corresponding AVStream and mkv_track.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskaenc.c