aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-04-12 21:14:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-13 04:59:35 +0200
commit88c4e5a049aa42a3c005cae5eff7cc7718c6f3b0 (patch)
treeb2aef0ab8bb6989b0c32be11b6022cc07689dc53
parent1dc2d4a8efd1d358a9e2bf16652a4baaee609365 (diff)
downloadffmpeg-88c4e5a049aa42a3c005cae5eff7cc7718c6f3b0.tar.gz
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 <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/avdevice.h2
1 files changed, 1 insertions, 1 deletions
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;