summaryrefslogtreecommitdiffstats
path: root/libSBRenc/src/ps_bitenc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid casting arbitrary values to an enumMartin Storsjo2013-11-011-6/+6
| | | | | | | | | | | | | | The enum only contains the constant values 0, 1 and 2. This produces the warning "comparison of constant 6 with expression of type 'PS_RESOLUTION' is always false" in clang for the first check in the getNoBands function (but apparently not for the second one even though mode>=3 shouldn't ever happen for a valid PS_RESOLUTION value either). This could allow the compiler to completely remove the conditions that shouldn't be able to occur even though they actually are used and are necessary. By passing the value as UINT instead, it is clear to the compiler that all the checks are necessary.
* Disclaimer update, lib version incrementJean-Michel Trivi2013-08-201-1/+1
| | | | | | | | | - Update disclaimer in all source files. - Increment library version in each FDK sub-module. Bug 9428126 Change-Id: I490b96d4ee472246b01483202b0bb4f1e9c2a5d7
* Snapshot 2bda038c163298531d47394bc2c09e1409c5d0dbThe Android Open Source Project2012-07-111-0/+696
Change-Id: If584e579464f28b97d50e51fc76ba654a5536c54