Re: [FFmpeg-devel] [PATCH 06/10] avformat/mux: Don't modify packets we don't own

2020-03-31 Thread Marton Balint
On Tue, 31 Mar 2020, Andreas Rheinhardt wrote: The documentation of av_write_frame() explicitly states that the function doesn't take ownership of the packets sent to it; while av_write_frame() does not directly unreference the packets after having written them, it nevertheless modifies the pac

[FFmpeg-devel] [PATCH 06/10] avformat/mux: Don't modify packets we don't own

2020-03-31 Thread Andreas Rheinhardt
The documentation of av_write_frame() explicitly states that the function doesn't take ownership of the packets sent to it; while av_write_frame() does not directly unreference the packets after having written them, it nevertheless modifies the packet in various ways: 1. The timestamps might be mod