avformat/matroskaenc: Redo applying ProRes offset
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 16 Jan 2022 11:12:17 +0000 (12:12 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 19 Jan 2022 11:12:56 +0000 (12:12 +0100)
commitabbc111067bfa7beafc51aa60f153bba3f4caca6
tree5578c119e101dcb2f541eb29888305ee86866569
parent6a9830f50370568234e23c28abff8cc4b738ac4b
avformat/matroskaenc: Redo applying ProRes offset

Add a field to mkv_track that is set to the offset instead
of checking for whether the track is ProRes when writing
the Block. This makes writing the Block independent
of the AVCodecParameters.

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