OSDN Git Service

rename ff_cavs_flush to cavs_flush and make it static
authorStefan Gehrer <stefan.gehrer@gmx.de>
Sun, 12 Nov 2006 20:23:47 +0000 (20:23 +0000)
committerStefan Gehrer <stefan.gehrer@gmx.de>
Sun, 12 Nov 2006 20:23:47 +0000 (20:23 +0000)
Originally committed as revision 6994 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cavs.c

index 2bedc08..ee862bb 100644 (file)
@@ -1319,7 +1319,7 @@ static int decode_seq_header(AVSContext *h) {
     return 0;
 }
 
-void ff_cavs_flush(AVCodecContext * avctx) {
+static void cavs_flush(AVCodecContext * avctx) {
     AVSContext *h = avctx->priv_data;
     h->got_keyframe = 0;
 }
@@ -1456,7 +1456,7 @@ AVCodec cavs_decoder = {
     cavs_decode_end,
     cavs_decode_frame,
     CODEC_CAP_DR1 | CODEC_CAP_DELAY,
-    .flush= ff_cavs_flush,
+    .flush= cavs_flush,
 };
 #endif /* CONFIG_CAVS_DECODER */