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

Michael Niedermayer michaelni
Sat Feb 2 15:42:37 CET 2008


On Sat, Feb 02, 2008 at 08:21:59AM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Feb 2, 2008 8:07 AM, Benjamin Larsson <banan at ludd.ltu.se> wrote:
> 
> > In the atrac3 decoder the buffer is bitswapped in one place. What should
> > I do to not trigger any warnings ?
> 
> 
> The svq3/1 decoders also wrote into the target buffer at some point, was
> that fixed?

No, and it was always a bug, the input was always supposed to be const. It
just didnt have a const qualifier ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080202/762b8f20/attachment.pgp>



More information about the ffmpeg-devel mailing list