Commit ed08a1ed authored by stefang's avatar stefang

rename ff_cavs_flush to cavs_flush and make it static


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6994 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 31bfcd02
...@@ -1319,7 +1319,7 @@ static int decode_seq_header(AVSContext *h) { ...@@ -1319,7 +1319,7 @@ static int decode_seq_header(AVSContext *h) {
return 0; return 0;
} }
void ff_cavs_flush(AVCodecContext * avctx) { static void cavs_flush(AVCodecContext * avctx) {
AVSContext *h = avctx->priv_data; AVSContext *h = avctx->priv_data;
h->got_keyframe = 0; h->got_keyframe = 0;
} }
...@@ -1456,7 +1456,7 @@ AVCodec cavs_decoder = { ...@@ -1456,7 +1456,7 @@ AVCodec cavs_decoder = {
cavs_decode_end, cavs_decode_end,
cavs_decode_frame, cavs_decode_frame,
CODEC_CAP_DR1 | CODEC_CAP_DELAY, CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.flush= ff_cavs_flush, .flush= cavs_flush,
}; };
#endif /* CONFIG_CAVS_DECODER */ #endif /* CONFIG_CAVS_DECODER */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment