Go to the source code of this file.
§ RTP_G726_HANDLER
#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; \
\
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]