diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-09 14:25:59 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-10 09:43:01 +0200 |
commit | 76c40fbef06aaf5013450a4b51dd3c49955777a1 (patch) | |
tree | f9fbb8b8f7c0b63f620e1f3eb84504dc9a2b0ff8 /libavformat/dfa.c | |
parent | 3b366c3aa0800d2df9f0678f6f4d7791b8adf2a9 (diff) | |
download | ffmpeg-76c40fbef06aaf5013450a4b51dd3c49955777a1.tar.gz |
rtpdec_vp8: Don't trim too much data from broken frames
Previously, for broken frames, we only returned the first partition
of the frame (we would append all the received packets to the packet
buffer, then set pkt->size to the size of the first partition, since
the rest of the frame could have lost data inbetween) - now instead
return the full buffered data we have, but don't append anything more
to the buffer after the lost packet discontinuity. Decoding the
truncated packet should hopefully get better quality than trimming out
everything after the first partition.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/dfa.c')
0 files changed, 0 insertions, 0 deletions