Commit df13e669 authored by michael's avatar michael

av_register_hwaccel() from Gwenole Beauchesne.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a81a9e43
......@@ -1124,3 +1124,14 @@ void ff_log_ask_for_sample(void *avc, const char *msg)
"of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ "
"and contact the ffmpeg-devel mailing list.\n");
}
static AVHWAccel *first_hwaccel = NULL;
void av_register_hwaccel(AVHWAccel *hwaccel)
{
AVHWAccel **p = &first_hwaccel;
while (*p)
p = &(*p)->next;
*p = hwaccel;
hwaccel->next = NULL;
}
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