X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpdec_xiph.c;h=574508affb6eccc7e57ece0d5aaa72e1e230dd30;hb=52e8a0d96da7e056e0818b622b55d01435760cd7;hp=43de6ce3431958adc5890755bfa35655fc085464;hpb=3895fce26ec7f6d2b1642f96ecaddede6521228e;p=ffmpeg diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 43de6ce3431..574508affb6 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -365,7 +365,7 @@ static int xiph_parse_sdp_line(AVFormatContext *s, int st_index, return 0; } -RTPDynamicProtocolHandler ff_theora_dynamic_handler = { +const RTPDynamicProtocolHandler ff_theora_dynamic_handler = { .enc_name = "theora", .codec_type = AVMEDIA_TYPE_VIDEO, .codec_id = AV_CODEC_ID_THEORA, @@ -375,7 +375,7 @@ RTPDynamicProtocolHandler ff_theora_dynamic_handler = { .parse_packet = xiph_handle_packet, }; -RTPDynamicProtocolHandler ff_vorbis_dynamic_handler = { +const RTPDynamicProtocolHandler ff_vorbis_dynamic_handler = { .enc_name = "vorbis", .codec_type = AVMEDIA_TYPE_AUDIO, .codec_id = AV_CODEC_ID_VORBIS,