summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/cfhd.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 7de1d5488f..31fbe83ec9 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -38,16 +38,6 @@
#define SUBBAND_COUNT 10
-static av_cold int cfhd_init(AVCodecContext *avctx)
-{
- CFHDContext *s = avctx->priv_data;
-
- s->avctx = avctx;
- avctx->bits_per_raw_sample = 10;
-
- return ff_cfhd_init_vlcs(s);
-}
-
static void init_plane_defaults(CFHDContext *s)
{
s->subband_num = 0;
@@ -769,6 +759,16 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
return avpkt->size;
}
+static av_cold int cfhd_init(AVCodecContext *avctx)
+{
+ CFHDContext *s = avctx->priv_data;
+
+ s->avctx = avctx;
+ avctx->bits_per_raw_sample = 10;
+
+ return ff_cfhd_init_vlcs(s);
+}
+
static av_cold int cfhd_close(AVCodecContext *avctx)
{
CFHDContext *s = avctx->priv_data;