summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-26 02:46:40 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-26 14:51:16 -0700
commit53abe32409f13687c864b3cda077a1aa906a2459 (patch)
tree374de74a800a890a9a09a9f3328a8cce99daecde /libavcodec/utils.c
parent1a880b2fb8456ce68eefe5902bac95fea1e6a72d (diff)
avcodec: Mark argument in av_{parser|hwaccel|bitstream_filter}_next as const
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 16c30c3497..dc7ffc4cec 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2279,7 +2279,7 @@ void av_register_hwaccel(AVHWAccel *hwaccel)
hwaccel->next = NULL;
}
-AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel)
+AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel)
{
return hwaccel ? hwaccel->next : first_hwaccel;
}