[FFmpeg-cvslog] r17567 - trunk/libavcodec/utils.c

michael subversion
Tue Feb 24 19:47:37 CET 2009


Author: michael
Date: Tue Feb 24 19:47:36 2009
New Revision: 17567

Log:
av_hwaccel_next() by Gwenole Beauchesne.

Modified:
   trunk/libavcodec/utils.c

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	Tue Feb 24 19:46:00 2009	(r17566)
+++ trunk/libavcodec/utils.c	Tue Feb 24 19:47:36 2009	(r17567)
@@ -1135,3 +1135,8 @@ void av_register_hwaccel(AVHWAccel *hwac
     *p = hwaccel;
     hwaccel->next = NULL;
 }
+
+AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel)
+{
+    return hwaccel ? hwaccel->next : first_hwaccel;
+}




More information about the ffmpeg-cvslog mailing list