diff options
author | Måns Rullgård <mans@mansr.com> | 2010-09-07 19:54:48 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-09-07 19:54:48 +0000 |
commit | b33451eeacaa31a7b4f15daf3f106763a4093aa0 (patch) | |
tree | c7df5c92ff49736288fed6f7dc569c836062953f /libavcodec/mpc7data.h | |
parent | 1904035bace6a9c6aadb089c259f3d1348d86e28 (diff) | |
download | ffmpeg-b33451eeacaa31a7b4f15daf3f106763a4093aa0.tar.gz |
Check rc_buffer_size value using integer arithmetic
Using floating-point here can cause erroneous rejection of
parameters due to rounding errors leading to a slightly too
large result.
This fixes the mxf regression test with gcc 4.5 on x86_32.
Originally committed as revision 25060 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpc7data.h')
0 files changed, 0 insertions, 0 deletions