You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/tee: Fix inconsistency wrt av_packet_ref() failure handling
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -565,8 +565,8 @@ static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt)
|
|||||||
if (s2 < 0)
|
if (s2 < 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((ret = av_packet_ref(&pkt2, pkt)) < 0)
|
if ((ret = av_packet_ref(&pkt2, pkt)) < 0) {
|
||||||
if (!ret_all) {
|
if (!ret_all)
|
||||||
ret_all = ret;
|
ret_all = ret;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user