diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-06-17 05:42:14 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-07-07 22:17:07 +0100 |
commit | 3c8a2a1180f03ca6b299ebc27eef21ae86635ca0 (patch) | |
tree | c0290cabe814ad0ec3191d79dfda82d1ad6b110e /libavcodec/pcm_tablegen.c | |
parent | a72cc47a275a62c9a36f9df8c912e6f1cd820fc7 (diff) | |
download | ffmpeg-3c8a2a1180f03ca6b299ebc27eef21ae86635ca0.tar.gz |
h264_metadata: Localize code for display orientation
The recent changes to h264_metadata (enabled by the recent changes to
ff_cbs_write_packet) made it possible to add side_data to the output
packet at any place, not only after the output packet has been written
and the properties of the input packet copied. This means that one can
now localize the code to add display orientation side-data to the packet
to the place dealing with said display-orientation.
Furthermore, the documentation of av_display_rotation_set states that
the matrix will be fully overwritten by it, so there is no need to
allocate it with av_mallocz.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/pcm_tablegen.c')
0 files changed, 0 insertions, 0 deletions