diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-22 20:03:15 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-21 08:28:58 +0200 |
commit | 75e50c3141c5e3f96110fcab5fb819736dcdc62e (patch) | |
tree | 1f96ac80130da4e07e16a2fc3ffee05968c497f3 /libavformat/bintext.c | |
parent | abc7dc32bd36759e82e2298eb884c0aa41ca0ac2 (diff) | |
download | ffmpeg-75e50c3141c5e3f96110fcab5fb819736dcdc62e.tar.gz |
avformat/matroskaenc: Don't needlessly copy AVCodecParameters
At the end of encoding, the FLAC encoder sends a packet whose side data
contains updated extradata (e.g. a correct md5 checksum). The Matroska
muxer uses this to update the CodecPrivate.
In doing so, the stream's codecpar was copied. But given that writing
a FLAC CodecPrivate does not modify the used AVCodecParameters at all,
there is no need to do so and this commit changes this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/bintext.c')
0 files changed, 0 insertions, 0 deletions