[FFmpeg-devel] support for audio with sample resolution better than 16bit

Lars Täuber lars.taeuber
Sun Apr 20 11:24:52 CEST 2008


> 26 bit sample:
> int32_t real_sample[0] = samples[0]<<16 | ((uint16_t *) low_samples[0] & 0xfffc)

Sorry, of course it is:
int32_t real_sample[0] = samples[0]<<16 | ((uint16_t *) low_samples[0] & 0xffc0)




More information about the ffmpeg-devel mailing list