[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer

Reimar Döffinger Reimar.Doeffinger
Sun Mar 8 00:32:32 CET 2009

On Sat, Mar 07, 2009 at 11:09:45PM +0000, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> > Feel free to add volatile though as you say its pointless ...
> Using volatile is almost always wrong.  See
> Documentation/volatile-considered-harmful.txt in the Linux kernel
> source for a good discussion on the topic.

I think we know that much about that stuff already. That document
specifically is about using the correct tools _that are already
available_, it sure doesn't say anything about what to do when the
correct tools are not available.
Nevertheless, on second thought adding dummy macros where memory
barriers should be would be the better approach.

More information about the ffmpeg-devel mailing list