diff options
author | James Almer <jamrial@gmail.com> | 2012-12-27 19:30:40 -0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-29 17:46:01 +0000 |
commit | d59d39e1642569b68249c922ae01a59bfe52747b (patch) | |
tree | 8b5f3516a94d0249fbae2b0c7978ded4ec950e9e /libavcodec/roqvideo.h | |
parent | 981baf742ce632a4df311a12a495ffe499ee4df6 (diff) | |
download | ffmpeg-d59d39e1642569b68249c922ae01a59bfe52747b.tar.gz |
wavdec: fix duration calculation for files with invalid data size
Some wav files report a data size that is bigger than the actual file size.
Fall back to estimation from bitrate in such cases.
Fixes ticket #2065.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/roqvideo.h')
0 files changed, 0 insertions, 0 deletions