diff options
author | David Holroyd <david.holroyd@m2amedia.tv> | 2020-06-09 21:37:10 +0800 |
---|---|---|
committer | Jun Zhao <barryjzhao@tencent.com> | 2020-06-14 12:27:49 +0800 |
commit | ffc1208266c2890a1b0e2391e0a536fe9698e69c (patch) | |
tree | 4872056157bb58df5e87da694ad190f372baf63b /libavfilter/f_sidedata.c | |
parent | 0a0158e45d467593d08d4cfd16cdc1be242090f5 (diff) | |
download | ffmpeg-ffc1208266c2890a1b0e2391e0a536fe9698e69c.tar.gz |
lavf/prompeg: prompeg_write() must report data all was written
Previously, prompeg_write() would only report to caller that bytes we
written when a FEC packet was actually created. Not all RTP packets are
expected to generate a FEC packet however, so this behavior was causing
avio to retry writing the RTP packet, eventually forcing the FEC state
machine to send a FEC packet erroneously (and so breaking out of the
retry loop).
This was resulting in incorrect FEC data being generated, and far too
many FEC packets to be sent (~100% FEC overhead).
fix #7863
Signed-off-by: David Holroyd <david.holroyd@m2amedia.tv>
Diffstat (limited to 'libavfilter/f_sidedata.c')
0 files changed, 0 insertions, 0 deletions