changeset 9031:62f346579c36 libavcodec

av_hwaccel_next() by Gwenole Beauchesne.
author michael
date Tue, 24 Feb 2009 18:47:36 +0000
parents c7d783120b99
children caee3bed2145
files utils.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Tue Feb 24 18:46:00 2009 +0000
+++ b/utils.c	Tue Feb 24 18:47:36 2009 +0000
@@ -1135,3 +1135,8 @@
     *p = hwaccel;
     hwaccel->next = NULL;
 }
+
+AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel)
+{
+    return hwaccel ? hwaccel->next : first_hwaccel;
+}