[FFmpeg-devel] [PATCH]lavf/rtpdec: Constify several pointers

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Feb 10 03:57:22 EET 2018


Hi!

Attached patch fixes two warnings.
libavformat/rtpdec.c: In function ‘ff_rtp_handler_find_by_name’:
libavformat/rtpdec.c:155:20: warning: return discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
             return handler;
                    ^~~~~~~
libavformat/rtpdec.c: In function ‘ff_rtp_handler_find_by_id’:
libavformat/rtpdec.c:168:20: warning: return discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
             return handler;
                    ^~~~~~~

Please comment, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-rtpdec-Constify-several-pointers.patch
Type: text/x-patch
Size: 7466 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180210/878290de/attachment.bin>


More information about the ffmpeg-devel mailing list