Mercurial > libavcodec.hg
comparison h263dec.c @ 752:97077dd24bfa libavcodec
fixing alt_scan for the first frame (variable was reset)
author | michaelni |
---|---|
date | Wed, 16 Oct 2002 17:23:18 +0000 |
parents | 4adadf210b3b |
children | f2644bb12a43 |
comparison
equal
deleted
inserted
replaced
751:cbe316f082bc | 752:97077dd24bfa |
---|---|
332 }else | 332 }else |
333 init_get_bits(&s->gb, buf, buf_size); | 333 init_get_bits(&s->gb, buf, buf_size); |
334 s->bitstream_buffer_size=0; | 334 s->bitstream_buffer_size=0; |
335 | 335 |
336 if (!s->context_initialized) { | 336 if (!s->context_initialized) { |
337 if (DCT_common_init(s) < 0) //we need the idct permutaton for reading a custom matrix | 337 if (MPV_common_init(s) < 0) //we need the idct permutaton for reading a custom matrix |
338 return -1; | 338 return -1; |
339 } | 339 } |
340 | 340 |
341 /* let's go :-) */ | 341 /* let's go :-) */ |
342 if (s->h263_msmpeg4) { | 342 if (s->h263_msmpeg4) { |