[Ffmpeg-devel] [PATCH] Added another GUID to asf.[ch]
Michael Niedermayer
michaelni
Tue Feb 20 22:30:06 CET 2007
Hi
On Tue, Feb 20, 2007 at 02:17:49PM -0600, Ryan Martell wrote:
>
> On Feb 19, 2007, at 5:24 PM, Michael Niedermayer wrote:
> >Hi
> >
> >On Mon, Feb 19, 2007 at 02:23:13PM -0600, Ryan Martell wrote:
> >>Hi--
> >>
> >>Attached patch adds the stream_bitrate GUID to the asf parsing code,
> >>and set stream bitrate properties accordingly.
> >>
> >>Values are set but currently unused; but will be necessary for mms
> >>parsing.
> >>
> >
> >[...]
> >>@@ -345,6 +348,23 @@
> >>+ uint16_t streams = get_le16(pb);
> >
> >this doesnt need to be exactly 16 bits
> >
> >>+ for(j = 0; j < streams; j++) {
> >>+ uint16_t flags;
> >>+ uint32_t bitrate;
> >>+ int stream_id;
> >
> >int stream_id, flags, bitrate;
> >none of them needs to be exactly 32 or 16bits
> >
> >
> >[...]
> >> 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
> >
> >please align the comment with the other comments
> >
> >[...]
>
> All done as requested. See attached.
looks ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070220/45c4a542/attachment.pgp>
More information about the ffmpeg-devel
mailing list