Rollout 89080 (88945).

Canonical link: https://commits.webkit.org/76367.195@safari-534-branch
git-svn-id: https://svn.webkit.org/repository/webkit/branches/safari-534-branch@89093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 31e6542..975ad55 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-14  Lucas Forschler  <lforschler@apple.com>
 
+    Rolled out 89080.
+
+2011-06-14  Lucas Forschler  <lforschler@apple.com>
+
     Merged 88984.
 
     2011-06-15  Sam Weinig  <sam@webkit.org>
diff --git a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm
index 4ce2288..0eec933 100644
--- a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm
+++ b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm
@@ -440,12 +440,8 @@
     if (CMTIME_IS_NUMERIC(cmDuration))
         return narrowPrecisionToFloat(CMTimeGetSeconds(cmDuration));
 
-    if (CMTIME_IS_INDEFINITE(cmDuration)) {
-        if (![[m_avAsset.get() tracks] count])
-            return 0;
-        else
-            return numeric_limits<float>::infinity();
-    }
+    if (CMTIME_IS_INDEFINITE(cmDuration))
+        return numeric_limits<float>::infinity();
 
     LOG(Media, "MediaPlayerPrivateAVFoundationObjC::platformDuration(%p) - invalid duration, returning %.0f", this, invalidTime());
     return invalidTime();