« Previous | Next » 

Revision b33451ee

IDb33451eeacaa31a7b4f15daf3f106763a4093aa0
Parent 1904035b
Child 1d96cc08

Added by Måns Rullgård over 10 years ago

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences