summaryrefslogtreecommitdiff
path: root/libavformat/rtp.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2006-06-15 07:36:57 +0000
committerLuca Abeni <lucabe72@email.it>2006-06-15 07:36:57 +0000
commit3c47c1744ac0e02d6a5bbf3bd24308cbf2f829f4 (patch)
tree7d0e72c7d03062851cea2aeca8e0ba90faf4c3af /libavformat/rtp.c
parent29f3b38a916720740716153076dfbae7b0dc6b21 (diff)
Fix typo
Originally committed as revision 5478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index 8482a71998..67ad3efdb0 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -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)