mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
av_hwaccel_next() by Gwenole Beauchesne.
Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c895618bb0
commit
414d9d7f2e
@ -1135,3 +1135,8 @@ void av_register_hwaccel(AVHWAccel *hwaccel)
|
|||||||
*p = hwaccel;
|
*p = hwaccel;
|
||||||
hwaccel->next = NULL;
|
hwaccel->next = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel)
|
||||||
|
{
|
||||||
|
return hwaccel ? hwaccel->next : first_hwaccel;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user