diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-18 17:09:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-18 17:09:46 +0000 |
commit | e96682e6f4c1fbddf468f9f051729332163c1db9 (patch) | |
tree | 6365d37b821ceb5e03f282ebf660f9f014903fca /libavcodec/wmv2.c | |
parent | 12cccabd0fedca3846f1381971aaffd30374bede (diff) | |
download | ffmpeg-e96682e6f4c1fbddf468f9f051729332163c1db9.tar.gz |
some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r-- | libavcodec/wmv2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c index 376f0706e1..a5ba1dd2da 100644 --- a/libavcodec/wmv2.c +++ b/libavcodec/wmv2.c @@ -59,6 +59,8 @@ static void wmv2_common_init(Wmv2Context * w){ ff_init_scantable(s->dsp.idct_permutation, &w->abt_scantable[1], wmv2_scantableB); } +#ifdef CONFIG_ENCODERS + static int encode_ext_header(Wmv2Context *w){ MpegEncContext * const s= &w->s; PutBitContext pb; @@ -84,7 +86,6 @@ static int encode_ext_header(Wmv2Context *w){ return 0; } -#ifdef CONFIG_ENCODERS static int wmv2_encode_init(AVCodecContext *avctx){ Wmv2Context * const w= avctx->priv_data; |