Mercurial > libavcodec.hg
comparison wmv2.c @ 2628:511e3afc43e1 libavcodec
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
author | melanson |
---|---|
date | Sun, 24 Apr 2005 17:21:11 +0000 |
parents | e25782262d7d |
children | 67171616ead6 |
comparison
equal
deleted
inserted
replaced
2627:bf158d23bbcc | 2628:511e3afc43e1 |
---|---|
472 | 472 |
473 // if(w->j_type) | 473 // if(w->j_type) |
474 // return wmv2_decode_j_picture(w); //FIXME | 474 // return wmv2_decode_j_picture(w); //FIXME |
475 | 475 |
476 if(w->j_type){ | 476 if(w->j_type){ |
477 av_log(s->avctx, AV_LOG_ERROR, "J-type picture isnt supported\n"); | 477 av_log(s->avctx, AV_LOG_ERROR, "J-type picture is not supported\n"); |
478 return -1; | 478 return -1; |
479 } | 479 } |
480 | 480 |
481 return 0; | 481 return 0; |
482 } | 482 } |
721 s->block_last_index[i] = -1; | 721 s->block_last_index[i] = -1; |
722 s->mv_dir = MV_DIR_FORWARD; | 722 s->mv_dir = MV_DIR_FORWARD; |
723 s->mv_type = MV_TYPE_16X16; | 723 s->mv_type = MV_TYPE_16X16; |
724 s->mv[0][0][0] = 0; | 724 s->mv[0][0][0] = 0; |
725 s->mv[0][0][1] = 0; | 725 s->mv[0][0][1] = 0; |
726 s->mb_skiped = 1; | 726 s->mb_skipped = 1; |
727 w->hshift=0; | 727 w->hshift=0; |
728 return 0; | 728 return 0; |
729 } | 729 } |
730 | 730 |
731 code = get_vlc2(&s->gb, mb_non_intra_vlc[w->cbp_table_index].table, MB_NON_INTRA_VLC_BITS, 3); | 731 code = get_vlc2(&s->gb, mb_non_intra_vlc[w->cbp_table_index].table, MB_NON_INTRA_VLC_BITS, 3); |