matroskaenc: write updated STREAMINFO metadata for FLAC streams if available
authorJames Almer <jamrial@gmail.com>
Wed, 9 Nov 2016 21:38:24 +0000 (18:38 -0300)
committerAnton Khirnov <anton@khirnov.net>
Thu, 10 Nov 2016 08:15:24 +0000 (09:15 +0100)
commit98cae966c77875e26c5958206a6cfe7eba6269e8
tree18a574b4bdbdeb4adb98c3892af9830f3209d041
parentf4bf236338f6001736a4784b9c23de863057a583
matroskaenc: write updated STREAMINFO metadata for FLAC streams if available

FLAC streams originating from the FLAC encoder send updated and more
complete STREAMINFO metadata as part of the last packet, so write that
to CodecPrivate instead of the incomplete one available in extradata
during init.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/matroskaenc.c