changeset 23803:ec1a81c77628

fixed bug introduced with the addition of get_ext_stream_properties() that should close bug #843, too. Patch by John Donaghy. Explanation: The issue is that get_ext_stream_properties shouldnt be returning false when no extended stream properties are found for the stream in question because that is not an error condition ... extended stream properties are optional. The only time this function should return false is when the buffer overrun checks fail.
author nicodvb
date Wed, 18 Jul 2007 22:16:08 +0000
parents 7111f3133866
children 10ac5a193118
files libmpdemux/asfheader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asfheader.c	Wed Jul 18 20:06:17 2007 +0000
+++ b/libmpdemux/asfheader.c	Wed Jul 18 22:16:08 2007 +0000
@@ -288,7 +288,7 @@
       return 1;
     }
   }
-  return 0;
+  return 1;
 }
 
 #define CHECKDEC(l, n) if (((l) -= (n)) < 0) return 0