Mercurial > libavcodec.hg
diff h264_parser.c @ 8590:7a463923ecd1 libavcodec
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
| author | aurel |
|---|---|
| date | Tue, 13 Jan 2009 23:44:16 +0000 |
| parents | f8c091bb5779 |
| children | 2ca51be7dad8 |
line wrap: on
line diff
--- a/h264_parser.c Tue Jan 13 21:13:45 2009 +0000 +++ b/h264_parser.c Tue Jan 13 23:44:16 2009 +0000 @@ -44,11 +44,11 @@ for(i=0; i<buf_size; i++){ if(state==7){ -#ifdef HAVE_FAST_UNALIGNED +#if HAVE_FAST_UNALIGNED /* we check i<buf_size instead of i+3/7 because its simpler * and there should be FF_INPUT_BUFFER_PADDING_SIZE bytes at the end */ -# ifdef HAVE_FAST_64BIT +# if HAVE_FAST_64BIT while(i<buf_size && !((~*(uint64_t*)(buf+i) & (*(uint64_t*)(buf+i) - 0x0101010101010101ULL)) & 0x8080808080808080ULL)) i+=8; # else
