diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-03 00:30:03 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-03 05:18:52 +0400 |
commit | 2e6fdcb7f3c86491408a3699f0aa9dc52b7c5686 (patch) | |
tree | bc3a87c438f10247b6ed78297e0bb364fcecb589 /libavformat/tee.c | |
parent | ee7ee9b1b4c981cdf450766729015c3f9f70caac (diff) |
avformat/tee: flip assigment direction
Found-by: CSA
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r-- | libavformat/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c index f26e15742a..681f94330a 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -467,7 +467,7 @@ static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt) if ((ret = av_copy_packet(&pkt2, pkt)) < 0 || (ret = av_dup_packet(&pkt2))< 0) if (!ret_all) { - ret = ret_all; + ret_all = ret; continue; } tb = avf ->streams[s ]->time_base; |