Go to the source code of this file.
#define RTP_G726_HANDLER |
( |
|
bitrate | ) |
|
Value:
{ \
AVStream *stream = s->streams[st_index]; \
AVCodecContext *codec = stream->codec; \
\
codec->bits_per_coded_sample = bitrate/8; \
codec->bit_rate = codec->bits_per_coded_sample * codec->sample_rate; \
} \
\
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.