summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-09-02 23:10:28 +0000
committerMåns Rullgård <mans@mansr.com>2006-09-02 23:10:28 +0000
commit0e176c3eb54ecc4504920347e9727f1d8b5657ef (patch)
tree37a1e517c69ae5f4675aab39e4823cdadfbb419d
parent6243da0d5036712ad2f53fcdec0ba6c2ada97d7a (diff)
downloadffmpeg-0e176c3eb54ecc4504920347e9727f1d8b5657ef.tar.gz
remove redundant declarations
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bitstream.h1
-rw-r--r--libavcodec/dsputil.c2
-rw-r--r--libavcodec/h261.c2
-rw-r--r--libavcodec/i386/dsputil_mmx.c1
-rw-r--r--libavcodec/mpegaudiodec.c1
-rw-r--r--libavcodec/utils.c2
-rw-r--r--libavformat/allformats.h3
-rw-r--r--libavformat/avformat.h3
-rw-r--r--libavformat/nut.c2
9 files changed, 0 insertions, 17 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 81247bf09b..8c49bbb4cc 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -771,7 +771,6 @@ static void align_get_bits(GetBitContext *s)
if(n) skip_bits(s, n);
}
-int check_marker(GetBitContext *s, const char *msg);
int init_vlc(VLC *vlc, int nb_bits, int nb_codes,
const void *bits, int bits_wrap, int bits_size,
const void *codes, int codes_wrap, int codes_size,
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 80361e8f9f..5fdd2ed54e 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3540,8 +3540,6 @@ static int dct_max8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
return sum;
}
-void simple_idct(DCTELEM *block); //FIXME
-
static int quant_psnr8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int stride, int h){
MpegEncContext * const s= (MpegEncContext *)c;
DECLARE_ALIGNED_8 (uint64_t, aligned_temp[sizeof(DCTELEM)*64*2/8]);
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 39fc66d3a9..20c9388cb4 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -373,8 +373,6 @@ static VLC h261_mtype_vlc;
static VLC h261_mv_vlc;
static VLC h261_cbp_vlc;
-void init_vlc_rl(RLTable *rl, int use_static);
-
static void h261_decode_init_vlc(H261Context *h){
static int done = 0;
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 9e6c88721c..aa592d92fb 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -29,7 +29,6 @@
//#undef NDEBUG
//#include <assert.h>
-extern const uint8_t ff_h263_loop_filter_strength[32];
extern void ff_idct_xvid_mmx(short *block);
extern void ff_idct_xvid_mmx2(short *block);
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index c039f8f237..73fa7f4a4b 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -197,7 +197,6 @@ static const int32_t scale_factor_mult2[3][3] = {
SCALE_GEN(4.0 / 9.0), /* 9 steps */
};
-void ff_mpa_synth_init(MPA_INT *window);
static MPA_INT window[512] __attribute__((aligned(16)));
/* layer 1 unscaling */
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 0f8a4f4124..6123210925 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -57,8 +57,6 @@ const uint8_t ff_reverse[256]={
static int volatile entangled_thread_counter=0;
-void avcodec_default_free_buffers(AVCodecContext *s);
-
void *av_mallocz(unsigned int size)
{
void *ptr;
diff --git a/libavformat/allformats.h b/libavformat/allformats.h
index 946519ed71..e93a1e22a0 100644
--- a/libavformat/allformats.h
+++ b/libavformat/allformats.h
@@ -34,7 +34,6 @@ extern AVOutputFormat flv_muxer;
extern AVOutputFormat gif_muxer;
extern AVInputFormat gif_demuxer;
extern AVInputFormat video_grab_device_demuxer;
-extern AVInputFormat video_grab_device_demuxer;
extern AVInputFormat gxf_demuxer;
extern AVOutputFormat gxf_muxer;
extern AVInputFormat idcin_demuxer;
@@ -120,8 +119,6 @@ extern AVOutputFormat rawvideo_muxer;
extern AVOutputFormat null_muxer;
extern AVInputFormat rm_demuxer;
extern AVOutputFormat rm_muxer;
-extern AVOutputFormat rtp_muxer;
-extern AVInputFormat rtsp_demuxer;
extern AVInputFormat sdp_demuxer;
extern AVInputFormat redir_demuxer;
extern AVInputFormat segafilm_demuxer;
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 27cddaa10a..0429701b21 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -407,9 +407,6 @@ extern AVImageFormat *first_image_format attribute_deprecated;
#include "rtsp.h"
-/* yuv4mpeg.c */
-extern AVOutputFormat yuv4mpegpipe_muxer;
-
/* utils.c */
void av_register_input_format(AVInputFormat *format);
void av_register_output_format(AVOutputFormat *format);
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 6f78596e36..ced4f3c1ac 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -112,8 +112,6 @@ static char *info_table[][2]={
{"Cover" , "PNG"},
};
-void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale);
-
static void update(NUTContext *nut, int stream_index, int64_t frame_start, int frame_type, int frame_code, int key_frame, int size, int64_t pts){
StreamContext *stream= &nut->stream[stream_index];