Mercurial > libavcodec.hg
comparison utils.c @ 9031:62f346579c36 libavcodec
av_hwaccel_next() by Gwenole Beauchesne.
author | michael |
---|---|
date | Tue, 24 Feb 2009 18:47:36 +0000 |
parents | c7d783120b99 |
children | caee3bed2145 |
comparison
equal
deleted
inserted
replaced
9030:c7d783120b99 | 9031:62f346579c36 |
---|---|
1133 while (*p) | 1133 while (*p) |
1134 p = &(*p)->next; | 1134 p = &(*p)->next; |
1135 *p = hwaccel; | 1135 *p = hwaccel; |
1136 hwaccel->next = NULL; | 1136 hwaccel->next = NULL; |
1137 } | 1137 } |
1138 | |
1139 AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel) | |
1140 { | |
1141 return hwaccel ? hwaccel->next : first_hwaccel; | |
1142 } |