Mercurial > libavcodec.hg
comparison h263dec.c @ 562:23e58889a108 libavcodec
exporting mbskip_table after it has been allocated
author | michaelni |
---|---|
date | Tue, 16 Jul 2002 11:45:14 +0000 |
parents | 762c67fd4078 |
children | 86ebb02c6693 |
comparison
equal
deleted
inserted
replaced
561:2d5ae7516af0 | 562:23e58889a108 |
---|---|
86 break; | 86 break; |
87 default: | 87 default: |
88 return -1; | 88 return -1; |
89 } | 89 } |
90 s->codec_id= avctx->codec->id; | 90 s->codec_id= avctx->codec->id; |
91 avctx->mbskip_table= s->mbskip_table; | |
92 | 91 |
93 /* for h263, we allocate the images after having read the header */ | 92 /* for h263, we allocate the images after having read the header */ |
94 if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4) | 93 if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4) |
95 if (MPV_common_init(s) < 0) | 94 if (MPV_common_init(s) < 0) |
96 return -1; | 95 return -1; |