aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2007-04-04 11:51:08 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-04-04 11:51:08 +0000
commit2b100ab2bff7993e2c662e80f53cdb76889a71d5 (patch)
tree1c0c4279ad23377e5676dc4f0bafe1103f03042d /libavcodec
parentee5c8a9bc44d0a0e608e74f85debdf73609e4d68 (diff)
downloadffmpeg-2b100ab2bff7993e2c662e80f53cdb76889a71d5.tar.gz
changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org % Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dca.c2
-rw-r--r--libavcodec/h264.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index a57dcdc442..b1a6dbb2f9 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -185,7 +185,7 @@ typedef struct {
DSPContext dsp;
} DCAContext;
-static void dca_init_vlcs()
+static void dca_init_vlcs(void)
{
static int vlcs_inited = 0;
int i, j;
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 2750173b14..085e18a896 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3029,7 +3029,7 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t
prefetch_motion(h, 1);
}
-static void decode_init_vlc(){
+static void decode_init_vlc(void){
static int done = 0;
if (!done) {