X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Frtpdec_jpeg.c;h=931463cec409088fa2f9f966e66524c904789874;hb=7db022e67bab568a560c8bd55f5840e71a34dc15;hp=465d9bc29211998f654246363175dffad43bde38;hpb=0a320f7e7a9bf8e6e9e9c33adfdb5bea743bfd52;p=ffmpeg diff --git a/libavformat/rtpdec_jpeg.c b/libavformat/rtpdec_jpeg.c index 465d9bc2921..931463cec40 100644 --- a/libavformat/rtpdec_jpeg.c +++ b/libavformat/rtpdec_jpeg.c @@ -379,7 +379,7 @@ static int jpeg_parse_packet(AVFormatContext *ctx, PayloadContext *jpeg, return AVERROR(EAGAIN); } -RTPDynamicProtocolHandler ff_jpeg_dynamic_handler = { +const RTPDynamicProtocolHandler ff_jpeg_dynamic_handler = { .enc_name = "JPEG", .codec_type = AVMEDIA_TYPE_VIDEO, .codec_id = AV_CODEC_ID_MJPEG,