diff asf.h @ 1806:bf6a0dd6d7be libavformat

Add the stream_bitrate GUID to the asf parsing code, and set stream bitrate properties accordingly. Patch by Ryan Martell, rdm4 % martellventures com.
author takis
date Tue, 20 Feb 2007 23:44:11 +0000
parents b090df664f0d
children a6d6b2b19341
line wrap: on
line diff
--- a/asf.h	Tue Feb 20 16:20:08 2007 +0000
+++ b/asf.h	Tue Feb 20 23:44:11 2007 +0000
@@ -76,6 +76,7 @@
     int is_streamed;
     int asfid2avid[128];                 ///< conversion table from asf ID 2 AVStream ID
     ASFStream streams[128];              ///< it's max number and it's not that big
+    uint32_t stream_bitrates[128];       ///< max number of streams, bitrate for each (for streaming)
     /* non streamed additonnal info */
     uint64_t nb_packets;                 ///< how many packets are there in the file, invalid if broadcasting
     int64_t duration;                    ///< in 100ns units