Bug 562585 - AllFrameTimesIncrease defined but not used. r=doublec

This commit is contained in:
timeless@mozdev.org 2010-04-30 15:03:38 +12:00
Родитель 88727def9f
Коммит dccba69629
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -324,6 +324,7 @@ TheoraVersion(th_info* info,
return (th_ver >= ver) ? 1 : 0;
}
#ifdef DEBUG
// Ensures that all the VideoData in aFrames array are stored in increasing
// order by timestamp. Used in assertions in debug builds.
static PRBool
@ -341,6 +342,7 @@ AllFrameTimesIncrease(nsTArray<VideoData*>& aFrames)
}
return PR_TRUE;
}
#endif
static void Clear(nsTArray<VideoData*>& aFrames) {
for (PRUint32 i = 0; i < aFrames.Length(); ++i) {