summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_mpeg12.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpdec_mpeg12.c')
-rw-r--r--libavformat/rtpdec_mpeg12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_mpeg12.c b/libavformat/rtpdec_mpeg12.c
index b93de3d9e4..43d9d5854c 100644
--- a/libavformat/rtpdec_mpeg12.c
+++ b/libavformat/rtpdec_mpeg12.c
@@ -48,7 +48,7 @@ static int mpeg_parse_packet(AVFormatContext *ctx, PayloadContext *data,
return 0;
}
-RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler = {
+const RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler = {
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_MP3,
.need_parsing = AVSTREAM_PARSE_FULL,
@@ -56,7 +56,7 @@ RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler = {
.static_payload_id = 14,
};
-RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler = {
+const RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler = {
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_MPEG2VIDEO,
.need_parsing = AVSTREAM_PARSE_FULL,