av_hwaccel_next() by Gwenole Beauchesne.

Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent c895618bb0
commit 414d9d7f2e
  1. 5
      libavcodec/utils.c

@ -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;
}

Loading…
Cancel
Save