Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-04-12 23:14:21 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-13 06:59:35 +0400
commit88c4e5a049aa42a3c005cae5eff7cc7718c6f3b0 (patch)
treeb2aef0ab8bb6989b0c32be11b6022cc07689dc53 /libavdevice/avdevice.h
parent1dc2d4a8efd1d358a9e2bf16652a4baaee609365 (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 <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/avdevice.h')
-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;