avformat/matroskaenc: write updated STREAMINFO metadata for FLAC streams if available
authorJames Almer <jamrial@gmail.com>
Mon, 31 Oct 2016 23:04:46 +0000 (20:04 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 20 Nov 2016 22:31:32 +0000 (19:31 -0300)
commit8c1342e631d635f6cad13f9374c4f2005c22b9e5
treeb4d6912463329fad3f103c55fe9b9f471663e132
parentee888cfbe777cd2916a3548c750e433ab8f8e6a5
avformat/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>
libavformat/matroskaenc.c