Browse Source

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>
tags/n2.3
Lukasz Marek Michael Niedermayer 11 years ago
parent
commit
88c4e5a049
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/avdevice.h

+ 1
- 1
libavdevice/avdevice.h View File

@@ -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;


Loading…
Cancel
Save