Mercurial > libavcodec.hg
comparison common.c @ 264:28c5c62b1c4c libavcodec
support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion()
author | michaelni |
---|---|
date | Wed, 13 Mar 2002 19:26:38 +0000 |
parents | 99a9f903f0e3 |
children | 5cb2978e701f |
comparison
equal
deleted
inserted
replaced
263:126edd7d2803 | 264:28c5c62b1c4c |
---|---|
199 get_bits(s, n); | 199 get_bits(s, n); |
200 } | 200 } |
201 #endif | 201 #endif |
202 } | 202 } |
203 | 203 |
204 int check_marker(GetBitContext *s, char *msg) | |
205 { | |
206 int bit= get_bits1(s); | |
207 if(!bit) printf("Marker bit missing %s\n", msg); | |
208 | |
209 return bit; | |
210 } | |
211 | |
204 #ifndef ALT_BITSTREAM_READER | 212 #ifndef ALT_BITSTREAM_READER |
205 /* This function is identical to get_bits_long(), the */ | 213 /* This function is identical to get_bits_long(), the */ |
206 /* only diference is that it doesn't touch the buffer */ | 214 /* only diference is that it doesn't touch the buffer */ |
207 /* it is usefull to see the buffer. */ | 215 /* it is usefull to see the buffer. */ |
208 | 216 |