Commit 414d9d7f authored by Michael Niedermayer's avatar Michael Niedermayer

av_hwaccel_next() by Gwenole Beauchesne.

Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c895618b
......@@ -1135,3 +1135,8 @@ void av_register_hwaccel(AVHWAccel *hwaccel)
*p = hwaccel;
hwaccel->next = NULL;
}
AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel)
{
return hwaccel ? hwaccel->next : first_hwaccel;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment