Mercurial > libavcodec.hg
comparison utils.c @ 9030:c7d783120b99 libavcodec
av_register_hwaccel() from Gwenole Beauchesne.
author | michael |
---|---|
date | Tue, 24 Feb 2009 18:46:00 +0000 |
parents | 1de11a984fc6 |
children | 62f346579c36 |
comparison
equal
deleted
inserted
replaced
9029:e10f554d8fb7 | 9030:c7d783120b99 |
---|---|
1122 av_log(avc, AV_LOG_WARNING, "%s ", msg); | 1122 av_log(avc, AV_LOG_WARNING, "%s ", msg); |
1123 av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample " | 1123 av_log(avc, AV_LOG_WARNING, "If you want to help, upload a sample " |
1124 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " | 1124 "of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ " |
1125 "and contact the ffmpeg-devel mailing list.\n"); | 1125 "and contact the ffmpeg-devel mailing list.\n"); |
1126 } | 1126 } |
1127 | |
1128 static AVHWAccel *first_hwaccel = NULL; | |
1129 | |
1130 void av_register_hwaccel(AVHWAccel *hwaccel) | |
1131 { | |
1132 AVHWAccel **p = &first_hwaccel; | |
1133 while (*p) | |
1134 p = &(*p)->next; | |
1135 *p = hwaccel; | |
1136 hwaccel->next = NULL; | |
1137 } |