Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/tee.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 759535bdea..a5bf34d083 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -565,11 +565,11 @@ static int tee_write_packet(AVFormatContext *avf,
AVPacket *pkt)
if (s2 < 0)
continue;
- if ((ret = av_packet_ref(&pkt2, pkt)) < 0)
- if (!ret_all) {
+ if ((ret = av_packet_ref(&pkt2, pkt)) < 0) {
+ if (!ret_all)
ret_all = ret;
- continue;
- }
+ continue;
+ }
bsfs = tee->slaves[i].bsfs[s2];
pkt2.stream_index = s2;
--
2.30.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".