• David Holroyd's avatar
    lavf/prompeg: prompeg_write() must report data all was written · 3a390ead
    David Holroyd authored
    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: 's avatarDavid Holroyd <david.holroyd@m2amedia.tv>
    (cherry picked from commit ffc1208266c2890a1b0e2391e0a536fe9698e69c)
    3a390ead
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...