diff rtp.c @ 1116:22a86dfd052d libavformat

Fix typo
author lucabe
date Thu, 15 Jun 2006 07:36:57 +0000
parents f05de60b531b
children d89d7ef290da
line wrap: on
line diff
--- a/rtp.c	Wed Jun 14 00:32:10 2006 +0000
+++ b/rtp.c	Thu Jun 15 07:36:57 2006 +0000
@@ -218,7 +218,7 @@
 {
     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)