diff options
author | Lukasz Marek <[email protected]> | 2014-04-12 21:14:21 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-04-13 04:59:35 +0200 |
commit | 88c4e5a049aa42a3c005cae5eff7cc7718c6f3b0 (patch) | |
tree | b2aef0ab8bb6989b0c32be11b6022cc07689dc53 | |
parent | 1dc2d4a8efd1d358a9e2bf16652a4baaee609365 (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavdevice/avdevice.h | 2 |
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; |