[FFmpeg-devel] uint8_t *buf -> const uint8_t *buf

Aurelien Jacobs aurel
Sat Feb 2 14:40:49 CET 2008


Aurelien Jacobs wrote:

> Benjamin Larsson wrote:
> 
> > In the atrac3 decoder the buffer is bitswapped in one place. What
> > should I do to not trigger any warnings ?
> 
> Have a look at attached (but untested) patch.

Hum... It obviously won't work with joint stereo scrambled streams.
You will need to allocate another buffer instead of reusing
decoded_bytes_buffer. But the idea behind my patch is still valid.

Aurel




More information about the ffmpeg-devel mailing list