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

Michael Niedermayer michaelni at gmx.at
Sun Apr 13 05:41:30 CEST 2014


On Sun, Apr 13, 2014 at 12:29:09AM +0200, Lukasz Marek wrote:
> On 13.04.2014 00:18, Nicolas George wrote:
> >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.
> 
> OK. Changed
> 

>  avdevice.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> a672a3feff726a8dca0a3d68f09c1e9cfb4861a2  0001-lavd-avdevice-fix-buildbreak-when-included-to-C-code.patch
> From 0562f5c8d81ced598054442d8d5a7291a68cb496 Mon Sep 17 00:00:00 2001
> From: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> Date: Sat, 12 Apr 2014 21:14:21 +0200
> Subject: [PATCH] lavd/avdevice: fix buildbreak when included to C++ code
> 
> class is reserved keyword in C++ and compilator complains about that variable.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140413/e6eae2c1/attachment.asc>


More information about the ffmpeg-devel mailing list