30 int size, tmp_codec=-1;
70 sample_rate = 256000000 / (channels * (65536 - sample_rate));
101 else if (par->
codec_id != tmp_codec)
int64_t avio_size(AVIOContext *s)
Get the filesize.
#define AV_LOG_WARNING
Something somehow does not look correct.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
av_log(ac->avr, AV_LOG_TRACE, "%d samples - audio_convert: %s to %s (%s)\, len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt), use_generic ? ac->func_descr_generic :ac->func_descr)
This struct describes the properties of an encoded stream.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int av_get_bits_per_sample(enum AVCodecID codec_id)
Return codec bits per sample.
unsigned int avio_rl32(AVIOContext *s)
int avio_r8(AVIOContext *s)
int bit_rate
The average bitrate of the encoded data (in bits per second).
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
enum AVCodecID audio_codec_id
Forced audio codec_id.
static av_always_inline int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
int ff_voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size)
const AVCodecTag ff_voc_codec_tags[]
AVIOContext * pb
I/O context.
int sample_rate
Audio only.
unsigned int avio_rl16(AVIOContext *s)
void * priv_data
Format private data.
int bits_per_coded_sample
AVCodecParameters * codecpar
unsigned int avio_rl24(AVIOContext *s)
This structure stores compressed data.