X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Futils.c;h=6071380c40e08bc7609acd2ef548791011187457;hb=243236a6f589fbf898e3015c15008776522c925a;hp=24f059e699365cde6d468b70bb1f2cc4b98b8450;hpb=7f1543d46cd88e86bd662695d79c16c93892223e;p=ffmpeg diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 24f059e6993..6071380c40e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -3401,7 +3401,7 @@ void av_register_hwaccel(AVHWAccel *hwaccel) last_hwaccel = &hwaccel->next; } -AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel) +AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel) { return hwaccel ? hwaccel->next : first_hwaccel; }