mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 15:07:12 +08:00
rawdec: add sample_rate/channels private options.
This commit is contained in:
@ -23,6 +23,15 @@
|
||||
#define AVFORMAT_RAWDEC_H
|
||||
|
||||
#include "avformat.h"
|
||||
#include "libavutil/log.h"
|
||||
|
||||
typedef struct RawAudioDemuxerContext {
|
||||
AVClass *class;
|
||||
int sample_rate;
|
||||
int channels;
|
||||
} RawAudioDemuxerContext;
|
||||
|
||||
extern const AVClass ff_rawaudio_demuxer_class;
|
||||
|
||||
int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap);
|
||||
|
||||
|
Reference in New Issue
Block a user