From 88c4e5a049aa42a3c005cae5eff7cc7718c6f3b0 Mon Sep 17 00:00:00 2001 From: Lukasz Marek 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. Signed-off-by: Lukasz Marek Signed-off-by: Michael Niedermayer --- libavdevice/avdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index 1d9de91aaa..6085eb4a04 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -344,7 +344,7 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s, * to implement capabilities probing API based on AVOption API. Should not be used directly. */ typedef struct AVDeviceCapabilitiesQuery { - const AVClass *class; + const AVClass *av_class; AVFormatContext *device_context; enum AVCodecID codec; enum AVSampleFormat sample_format;