Fix typo
authorLuca Abeni <lucabe72@email.it>
Thu, 15 Jun 2006 07:36:57 +0000 (07:36 +0000)
committerLuca Abeni <lucabe72@email.it>
Thu, 15 Jun 2006 07:36:57 +0000 (07:36 +0000)
Originally committed as revision 5478 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp.c

index 8482a71..67ad3ef 100644 (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)