summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h263.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-12 22:21:06 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-02-14 01:14:35 +0100
commitdc77e64f2d41a9a778b11afbfa8709e1ce483ef1 (patch)
tree0690ccf4286f25f560e906fcc39974feef6b5a22 /libavformat/rtpdec_h263.c
parent71f39de2a57efc8db1d607b09c162c3b806cd45d (diff)
downloadffmpeg-dc77e64f2d41a9a778b11afbfa8709e1ce483ef1.tar.gz
lavf/rtpdec*: Constify all RTPDynamicProtocolHandler.
Reviewed-by: Muhammad Faiz
Diffstat (limited to 'libavformat/rtpdec_h263.c')
-rw-r--r--libavformat/rtpdec_h263.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_h263.c b/libavformat/rtpdec_h263.c
index 97aa4add36..9b71ed7efe 100644
--- a/libavformat/rtpdec_h263.c
+++ b/libavformat/rtpdec_h263.c
@@ -89,7 +89,7 @@ int ff_h263_handle_packet(AVFormatContext *ctx, PayloadContext *data,
return 0;
}
-RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler = {
+const RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler = {
.enc_name = "H263-1998",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_H263,
@@ -97,7 +97,7 @@ RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler = {
.parse_packet = ff_h263_handle_packet,
};
-RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler = {
+const RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler = {
.enc_name = "H263-2000",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_H263,