Mercurial > libavformat.hg
comparison rtp.c @ 1116:22a86dfd052d libavformat
Fix typo
| author | lucabe |
|---|---|
| date | Thu, 15 Jun 2006 07:36:57 +0000 |
| parents | f05de60b531b |
| children | d89d7ef290da |
comparison
equal
deleted
inserted
replaced
| 1115:8aa77d05572e | 1116:22a86dfd052d |
|---|---|
| 216 | 216 |
| 217 int rtp_get_codec_info(AVCodecContext *codec, int payload_type) | 217 int rtp_get_codec_info(AVCodecContext *codec, int payload_type) |
| 218 { | 218 { |
| 219 if (AVRtpPayloadTypes[payload_type].codec_id != CODEC_ID_NONE) { | 219 if (AVRtpPayloadTypes[payload_type].codec_id != CODEC_ID_NONE) { |
| 220 codec->codec_type = AVRtpPayloadTypes[payload_type].codec_type; | 220 codec->codec_type = AVRtpPayloadTypes[payload_type].codec_type; |
| 221 codec->codec_id = AVRtpPayloadTypes[payload_type].codec_type; | 221 codec->codec_id = AVRtpPayloadTypes[payload_type].codec_id; |
| 222 if (AVRtpPayloadTypes[payload_type].audio_channels > 0) | 222 if (AVRtpPayloadTypes[payload_type].audio_channels > 0) |
| 223 codec->channels = AVRtpPayloadTypes[payload_type].audio_channels; | 223 codec->channels = AVRtpPayloadTypes[payload_type].audio_channels; |
| 224 if (AVRtpPayloadTypes[payload_type].clock_rate > 0) | 224 if (AVRtpPayloadTypes[payload_type].clock_rate > 0) |
| 225 codec->sample_rate = AVRtpPayloadTypes[payload_type].clock_rate; | 225 codec->sample_rate = AVRtpPayloadTypes[payload_type].clock_rate; |
| 226 return 0; | 226 return 0; |
