Mercurial > libavcodec.hg
comparison mpegvideo.c @ 5424:07844149dfa9 libavcodec
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
author | romansh |
---|---|
date | Mon, 30 Jul 2007 18:05:46 +0000 |
parents | 4393e09e32ec |
children | 5a61305cc568 |
comparison
equal
deleted
inserted
replaced
5423:2c98d63a8956 | 5424:07844149dfa9 |
---|---|
122 break; | 122 break; |
123 } | 123 } |
124 } | 124 } |
125 | 125 |
126 p= FFMIN(p, end)-4; | 126 p= FFMIN(p, end)-4; |
127 *state= be2me_32(unaligned32(p)); | 127 *state= AV_RB32(p); |
128 | 128 |
129 return p+4; | 129 return p+4; |
130 } | 130 } |
131 | 131 |
132 /* init common dct for both encoder and decoder */ | 132 /* init common dct for both encoder and decoder */ |