Mercurial > libavcodec.hg
comparison g726.c @ 12463:04e68eb1aab7 libavcodec
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.
author | mru |
---|---|
date | Tue, 07 Sep 2010 19:54:48 +0000 |
parents | dde20597f15e |
children | 351a81a23343 |
comparison
equal
deleted
inserted
replaced
12462:ffb3668ff7af | 12463:04e68eb1aab7 |
---|