[FFmpeg-devel] [PATCH] lavd/avdevice: fix buildbreak when included to C++ code

Nicolas George george at nsup.org
Sun Apr 13 00:18:34 CEST 2014


Le tridi 23 germinal, an CCXXII, Lukasz Marek a écrit :
> class is reserved keyword in C++ and compilator complains about that variable
> 
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>  libavdevice/avdevice.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

"av_class" seems more consistent with other similar cases: priv_class is
used for the class of private context that are attached to a generic
context.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140413/91983866/attachment.asc>


More information about the ffmpeg-devel mailing list