From dc77e64f2d41a9a778b11afbfa8709e1ce483ef1 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 12 Feb 2018 22:21:06 +0100 Subject: lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. Reviewed-by: Muhammad Faiz --- libavformat/rtpdec_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpdec_hevc.c') diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c index a0e3a7c2f4..5a06b2362c 100644 --- a/libavformat/rtpdec_hevc.c +++ b/libavformat/rtpdec_hevc.c @@ -347,7 +347,7 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx return res; } -RTPDynamicProtocolHandler ff_hevc_dynamic_handler = { +const RTPDynamicProtocolHandler ff_hevc_dynamic_handler = { .enc_name = "H265", .codec_type = AVMEDIA_TYPE_VIDEO, .codec_id = AV_CODEC_ID_HEVC, -- cgit v1.2.3