Skip to content
Snippets Groups Projects
Commit 88c4e5a0 authored by Lukasz Marek's avatar Lukasz Marek Committed by Michael Niedermayer
Browse files

lavd/avdevice: fix buildbreak when included to C++ code


class is reserved keyword in C++ and compilator complains about that variable.

Signed-off-by: default avatarLukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 1dc2d4a8
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s, ...@@ -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. * to implement capabilities probing API based on AVOption API. Should not be used directly.
*/ */
typedef struct AVDeviceCapabilitiesQuery { typedef struct AVDeviceCapabilitiesQuery {
const AVClass *class; const AVClass *av_class;
AVFormatContext *device_context; AVFormatContext *device_context;
enum AVCodecID codec; enum AVCodecID codec;
enum AVSampleFormat sample_format; enum AVSampleFormat sample_format;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment