Originally committed as revision 5478 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni 2006-06-15 07:36:57 +00:00
parent 29f3b38a91
commit 3c47c1744a
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type)
{
if (AVRtpPayloadTypes[payload_type].codec_id != CODEC_ID_NONE) {
codec->codec_type = AVRtpPayloadTypes[payload_type].codec_type;
codec->codec_id = AVRtpPayloadTypes[payload_type].codec_type;
codec->codec_id = AVRtpPayloadTypes[payload_type].codec_id;
if (AVRtpPayloadTypes[payload_type].audio_channels > 0)
codec->channels = AVRtpPayloadTypes[payload_type].audio_channels;
if (AVRtpPayloadTypes[payload_type].clock_rate > 0)