[xiph-commits] r8623 - trunk/oggdsf/src/lib/helper/libOOOggChef
ozone at motherfish-iii.xiph.org
ozone at motherfish-iii.xiph.org
Wed Jan 5 05:23:47 PST 2005
Author: ozone
Date: 2005-01-05 05:23:46 -0800 (Wed, 05 Jan 2005)
New Revision: 8623
Modified:
trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
Log:
oggdsf:
* Fix AnnodexRecomposer class so it works with MIME type requests of application/x-annodex, too
Modified: trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp 2005-01-05 13:22:59 UTC (rev 8622)
+++ trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp 2005-01-05 13:23:46 UTC (rev 8623)
@@ -300,8 +300,10 @@
string locMimeType = mimeType(inOggPage->getPacket(0));
for (unsigned int i = 0; i < mWantedMIMETypes->size(); i++) {
- if ( mWantedMIMETypes->at(i) == locMimeType
- || mWantedMIMETypes->at(i) == "*/*" /* accept all */) {
+ const string locWantedMIMEType = mWantedMIMETypes->at(i);
+ if ( locWantedMIMEType == locMimeType
+ || locWantedMIMEType == "*/*" /* accept all */
+ || locWantedMIMEType == "application/x-annodex") {
// Create an association of serial no and num headers
tSerial_HeadCountPair locMap;
locMap.first = locSerialNumber;
More information about the commits
mailing list