mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: make av_interleaved_write_frame() flush packets when pkt is NULL mpegts: Fix dead error checks vc1: Do not read from array if index is invalid. targa: convert to bytestream2. rv34: set mb_num_left to 0 after finishing a frame Conflicts: libavcodec/targa.c libavcodec/vc1data.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1607,6 +1607,8 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt);
|
||||
* @param s media file handle
|
||||
* @param pkt The packet containing the data to be written. Libavformat takes
|
||||
* ownership of the data and will free it when it sees fit using the packet's
|
||||
* This can be NULL (at any time, not just at the end), to flush the
|
||||
* interleaving queues.
|
||||
* @ref AVPacket.destruct "destruct" field. The caller must not access the data
|
||||
* after this function returns, as it may already be freed.
|
||||
* Packet's @ref AVPacket.stream_index "stream_index" field must be set to the
|
||||
|
||||
Reference in New Issue
Block a user