[MPlayer-cvslog] r23823 - trunk/libmpdemux/asfheader.c

nicodvb subversion at mplayerhq.hu
Thu Jul 19 00:16:08 CEST 2007


Author: nicodvb
Date: Thu Jul 19 00:16:08 2007
New Revision: 23823

Log:
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.





Modified:
   trunk/libmpdemux/asfheader.c

Modified: trunk/libmpdemux/asfheader.c
==============================================================================
--- trunk/libmpdemux/asfheader.c	(original)
+++ trunk/libmpdemux/asfheader.c	Thu Jul 19 00:16:08 2007
@@ -288,7 +288,7 @@ static int get_ext_stream_properties(cha
       return 1;
     }
   }
-  return 0;
+  return 1;
 }
 
 #define CHECKDEC(l, n) if (((l) -= (n)) < 0) return 0



More information about the MPlayer-cvslog mailing list