Go to the source code of this file.
◆ RTP_G726_HANDLER
#define RTP_G726_HANDLER |
( |
|
bitrate | ) |
|
Value:
{ \
AVStream *stream =
s->streams[st_index]; \
AVCodecParameters *par = stream->codecpar; \
\
par->bits_per_coded_sample =
bitrate/8; \
par->bit_rate = par->bits_per_coded_sample * par->sample_rate; \
\
return 0; \
} \
\
.enc_name =
"AAL2-G726-" #
bitrate, \
.init = g726_ ##
bitrate ## _init, \
}; \
.init = g726_ ##
bitrate ## _init, \
}
Definition at line 25 of file rtpdec_g726.c.
◆ RTP_G726_HANDLER() [1/4]
◆ RTP_G726_HANDLER() [2/4]
◆ RTP_G726_HANDLER() [3/4]
◆ RTP_G726_HANDLER() [4/4]
RTP/JPEG specific private data.