# HG changeset patch # User nicodvb # Date 1184796968 0 # Node ID ec1a81c776280d955286f00e83142f6b4682bd5b # Parent 7111f3133866ce75b6cd17c2fdd6c5bfa93176a2 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. diff -r 7111f3133866 -r ec1a81c77628 libmpdemux/asfheader.c --- 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