Mercurial > libavcodec.hg
comparison dvbsubdec.c @ 4176:23da44e8fd05 libavcodec
rename cropTbl -> ff_cropTbl
author | mru |
---|---|
date | Sun, 12 Nov 2006 20:08:09 +0000 |
parents | daae66c03857 |
children | 05e932ddaaa9 |
comparison
equal
deleted
inserted
replaced
4175:b3328ed50a5e | 4176:23da44e8fd05 |
---|---|
342 static int dvbsub_init_decoder(AVCodecContext *avctx) | 342 static int dvbsub_init_decoder(AVCodecContext *avctx) |
343 { | 343 { |
344 int i, r, g, b, a = 0; | 344 int i, r, g, b, a = 0; |
345 DVBSubContext *ctx = (DVBSubContext*) avctx->priv_data; | 345 DVBSubContext *ctx = (DVBSubContext*) avctx->priv_data; |
346 | 346 |
347 cm = cropTbl + MAX_NEG_CROP; | 347 cm = ff_cropTbl + MAX_NEG_CROP; |
348 | 348 |
349 memset(avctx->priv_data, 0, sizeof(DVBSubContext)); | 349 memset(avctx->priv_data, 0, sizeof(DVBSubContext)); |
350 | 350 |
351 ctx->composition_id = avctx->sub_id & 0xffff; | 351 ctx->composition_id = avctx->sub_id & 0xffff; |
352 ctx->ancillary_id = avctx->sub_id >> 16; | 352 ctx->ancillary_id = avctx->sub_id >> 16; |