summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-08-17 15:39:27 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-08-17 15:39:27 +0200
commit6da11143666dde462d8f081e3f14cf89ba575508 (patch)
treecbf9d8a3634b6c16fcf1b9bfa5319b57e8c203ac /modules
parent355cd50e8793f20b0f3d2a7bf526a2338ed010f4 (diff)
avcodec: make h264_decode static
Diffstat (limited to 'modules')
-rw-r--r--modules/avcodec/avcodec.h1
-rw-r--r--modules/avcodec/decode.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/avcodec/avcodec.h b/modules/avcodec/avcodec.h
index 466f0b4..5ffe1d8 100644
--- a/modules/avcodec/avcodec.h
+++ b/modules/avcodec/avcodec.h
@@ -53,7 +53,6 @@ int decode_mpeg4(struct viddec_state *st, struct vidframe *frame,
int decode_sdpparam_h264(struct videnc_state *st, const struct pl *name,
const struct pl *val);
-int h264_decode(struct viddec_state *st, struct mbuf *src);
int avcodec_resolve_codecid(const char *s);
diff --git a/modules/avcodec/decode.c b/modules/avcodec/decode.c
index 5378b18..cb0446e 100644
--- a/modules/avcodec/decode.c
+++ b/modules/avcodec/decode.c
@@ -239,7 +239,7 @@ static int ffdecode(struct viddec_state *st, struct vidframe *frame,
}
-int h264_decode(struct viddec_state *st, struct mbuf *src)
+static int h264_decode(struct viddec_state *st, struct mbuf *src)
{
struct h264_hdr h264_hdr;
const uint8_t nal_seq[3] = {0, 0, 1};