diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 20:12:48 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-29 20:28:40 +0200 |
commit | cf3ac54339c42530342ec053b981d7b717404889 (patch) | |
tree | 9f004aa53fdeb4f3824fa7d205531f720c17bf05 /libavcodec/vorbis.h | |
parent | a734fa575f94c7c28103420f756b5f64dd0c806b (diff) | |
download | ffmpeg-cf3ac54339c42530342ec053b981d7b717404889.tar.gz |
vorbis: Replace sized int_fast integer types with plain int/unsigned.
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
Diffstat (limited to 'libavcodec/vorbis.h')
-rw-r--r-- | libavcodec/vorbis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis.h b/libavcodec/vorbis.h index e4754553f0..f36d26abc4 100644 --- a/libavcodec/vorbis.h +++ b/libavcodec/vorbis.h @@ -38,7 +38,7 @@ typedef struct { void ff_vorbis_ready_floor1_list(vorbis_floor1_entry * list, int values); unsigned int ff_vorbis_nth_root(unsigned int x, unsigned int n); // x^(1/n) -int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, uint_fast32_t num); +int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num); void ff_vorbis_floor1_render_list(vorbis_floor1_entry * list, int values, uint_fast16_t * y_list, int * flag, int multiplier, float * out, int samples); |