Am Mi., 21. Aug. 2019 um 11:13 Uhr schrieb Andreas Rheinhardt <andreas.rheinha...@gmail.com>: > > Hello, > > this goal of this patchset is making avio_enum_protocols const correct. > It currently ignores the distinction between const URLProtocol * > const * and const URLProtocol ** in the line p = p ? p + 1 : url_protocols; > (where p is of the latter type and url_protocols is of the former (after > the array-to-pointer conversion has taken place)). As a consequence, the > users of this function will have pointers to non-const pointing to > something that is actually const.
> Fixing this requires changing the function's signature and this will > only be possible at the next major version bump. I believe this was changed to const without a major bump (but this has to be checked) and in the general case, it shouldn't be a problem. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".