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>
This commit is contained in:
parent
b4632cec74
commit
ca232ff9b0
@ -251,7 +251,7 @@ static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt)
|
|||||||
if ((ret = av_copy_packet(&pkt2, pkt)) < 0 ||
|
if ((ret = av_copy_packet(&pkt2, pkt)) < 0 ||
|
||||||
(ret = av_dup_packet(&pkt2))< 0)
|
(ret = av_dup_packet(&pkt2))< 0)
|
||||||
if (!ret_all) {
|
if (!ret_all) {
|
||||||
ret = ret_all;
|
ret_all = ret;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
tb = avf ->streams[s]->time_base;
|
tb = avf ->streams[s]->time_base;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user