# HG changeset patch # User michael # Date 1235501256 0 # Node ID 62f346579c360d38cfdfe986e57697ebb29c4612 # Parent c7d783120b990255dfb3bf0915c01d6980411e1a av_hwaccel_next() by Gwenole Beauchesne. diff -r c7d783120b99 -r 62f346579c36 utils.c --- a/utils.c Tue Feb 24 18:46:00 2009 +0000 +++ b/utils.c Tue Feb 24 18:47:36 2009 +0000 @@ -1135,3 +1135,8 @@ *p = hwaccel; hwaccel->next = NULL; } + +AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel) +{ + return hwaccel ? hwaccel->next : first_hwaccel; +}