]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/utils.c
avcodec/hevc: fix "discards const qualifier from pointer target type" warning
[ffmpeg] / libavcodec / utils.c
index 24f059e699365cde6d468b70bb1f2cc4b98b8450..6071380c40e08bc7609acd2ef548791011187457 100644 (file)
@@ -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;
 }