Mercurial > libavcodec.hg
comparison cavs.c @ 4178:f623a9939995 libavcodec
rename ff_cavs_flush to cavs_flush and make it static
author | stefang |
---|---|
date | Sun, 12 Nov 2006 20:23:47 +0000 |
parents | 127d84a4c8e0 |
children | a96d905dcbaa |
comparison
equal
deleted
inserted
replaced
4177:127d84a4c8e0 | 4178:f623a9939995 |
---|---|
1317 if(!h->top_qp) | 1317 if(!h->top_qp) |
1318 init_top_lines(h); | 1318 init_top_lines(h); |
1319 return 0; | 1319 return 0; |
1320 } | 1320 } |
1321 | 1321 |
1322 void ff_cavs_flush(AVCodecContext * avctx) { | 1322 static void cavs_flush(AVCodecContext * avctx) { |
1323 AVSContext *h = avctx->priv_data; | 1323 AVSContext *h = avctx->priv_data; |
1324 h->got_keyframe = 0; | 1324 h->got_keyframe = 0; |
1325 } | 1325 } |
1326 | 1326 |
1327 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, | 1327 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, |
1454 cavs_decode_init, | 1454 cavs_decode_init, |
1455 NULL, | 1455 NULL, |
1456 cavs_decode_end, | 1456 cavs_decode_end, |
1457 cavs_decode_frame, | 1457 cavs_decode_frame, |
1458 CODEC_CAP_DR1 | CODEC_CAP_DELAY, | 1458 CODEC_CAP_DR1 | CODEC_CAP_DELAY, |
1459 .flush= ff_cavs_flush, | 1459 .flush= cavs_flush, |
1460 }; | 1460 }; |
1461 #endif /* CONFIG_CAVS_DECODER */ | 1461 #endif /* CONFIG_CAVS_DECODER */ |
1462 | 1462 |
1463 #ifdef CONFIG_CAVSVIDEO_PARSER | 1463 #ifdef CONFIG_CAVSVIDEO_PARSER |
1464 /** | 1464 /** |