diff options
author | David Holroyd <david.holroyd@m2amedia.tv> | 2020-06-09 21:37:10 +0800 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-06-14 21:09:05 +0200 |
commit | 3a390eadd279564b5b2d5d05c8d061d48c312da0 (patch) | |
tree | c964e3d13b696a378584e9a120790068b806c14a /libavcodec/cbs.c | |
parent | e929799065413381b049f0707386796beeafb4a4 (diff) | |
download | ffmpeg-3a390eadd279564b5b2d5d05c8d061d48c312da0.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>
(cherry picked from commit ffc1208266c2890a1b0e2391e0a536fe9698e69c)
Diffstat (limited to 'libavcodec/cbs.c')
0 files changed, 0 insertions, 0 deletions