diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-02 22:30:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-05 03:18:15 +0200 |
commit | ca232ff9b0af13af68d58f7a7306092dc55409ac (patch) | |
tree | d83641ea0aac5d8ce4ce532f4291f2ccbc8a6111 | |
parent | b4632cec7401b4a136491f8bf3ad7983aa3ef30c (diff) | |
download | ffmpeg-ca232ff9b0af13af68d58f7a7306092dc55409ac.tar.gz |
avformat/tee: flip assigment direction
Found-by: CSA
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2e6fdcb7f3c86491408a3699f0aa9dc52b7c5686)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 f41327bc7e..392c4bd589 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -251,7 +251,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; |