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; \
} \
\
RTPDynamicProtocolHandler ff_g726_ ## bitrate ## _dynamic_handler = { \
.enc_name = "G726-" #bitrate, \
.init = g726_ ## bitrate ## _init, \
}
RTP/JPEG specific private data.
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]