20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: decoder.c,v 1.70 2005-05-17 21:03:32 Skal Exp $ |
* $Id: decoder.c,v 1.71 2005-05-23 09:29:43 Skal Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
1123 |
MACROBLOCK *mb = &dec->mbs[y * dec->mb_width + x]; |
MACROBLOCK *mb = &dec->mbs[y * dec->mb_width + x]; |
1124 |
MACROBLOCK *last_mb = &dec->last_mbs[y * dec->mb_width + x]; |
MACROBLOCK *last_mb = &dec->last_mbs[y * dec->mb_width + x]; |
1125 |
const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward; |
const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward; |
1126 |
uint32_t intra_dc_threshold; /* fake variable */ |
int32_t intra_dc_threshold; /* fake variable */ |
1127 |
|
|
1128 |
if (check_resync_marker(bs, fcode_max - 1)) { |
if (check_resync_marker(bs, fcode_max - 1)) { |
1129 |
int bound = read_video_packet_header(bs, dec, fcode_max - 1, &quant, |
int bound = read_video_packet_header(bs, dec, fcode_max - 1, &quant, |