Mercurial > mplayer.hg
comparison libmpdemux/stream.h @ 5301:d72c3169a343
Improved MP4 parsing (finally)
author | atmos4 |
---|---|
date | Sun, 24 Mar 2002 02:25:41 +0000 |
parents | 1863e0c6af59 |
children | 8a01cde9cf39 |
comparison
equal
deleted
inserted
replaced
5300:5d7bd47b46ef | 5301:d72c3169a343 |
---|---|
111 y=(y<<8)|stream_read_char(s); | 111 y=(y<<8)|stream_read_char(s); |
112 y=(y<<8)|stream_read_char(s); | 112 y=(y<<8)|stream_read_char(s); |
113 y=(y<<8)|stream_read_char(s); | 113 y=(y<<8)|stream_read_char(s); |
114 y=(y<<8)|stream_read_char(s); | 114 y=(y<<8)|stream_read_char(s); |
115 y=(y<<8)|stream_read_char(s); | 115 y=(y<<8)|stream_read_char(s); |
116 y=(y<<8)|stream_read_char(s); | |
117 y=(y<<8)|stream_read_char(s); | |
118 return y; | |
119 } | |
120 | |
121 inline static unsigned int stream_read_int24(stream_t *s){ | |
122 unsigned int y; | |
123 y = stream_read_char(s); | |
116 y=(y<<8)|stream_read_char(s); | 124 y=(y<<8)|stream_read_char(s); |
117 y=(y<<8)|stream_read_char(s); | 125 y=(y<<8)|stream_read_char(s); |
118 return y; | 126 return y; |
119 } | 127 } |
120 | 128 |