diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-08-13 04:47:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-18 01:09:58 +0200 |
commit | 148bcc0bc5ff9ce10dbfaf2f3054c267bcbdf91a (patch) | |
tree | 9ec290a4630e66dbee679c1bb642f62e5aa2d837 /libavformat/mxfenc.c | |
parent | fe251f77c80b0512ab8907902e1dbed3f4fe1aad (diff) | |
download | ffmpeg-148bcc0bc5ff9ce10dbfaf2f3054c267bcbdf91a.tar.gz |
avformat/mux: Remove pointless timestamp backups
write_packet() currently saves the original timestamps of the packet it
got and restores them in case writing fails. This is unnecessary as we
are no longer working directly with the user-supplied AVPacket here; and
it is also pointless because the timestamps may already have been
altered before write_packet().
So remove this and add a general comment to the function that timestamps
may be modified; also remove a long outdated comment about side data.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/mxfenc.c')
0 files changed, 0 insertions, 0 deletions