diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
commit | 764ef400159b4f640eda8b22e8c7a20d6649a391 (patch) | |
tree | 2e359b478a7089f81c973e8153ce653ecadb39a8 /libavformat/avienc.c | |
parent | a003ee9a44eca32707eaa049171bc752ba3a9fde (diff) | |
download | ffmpeg-764ef400159b4f640eda8b22e8c7a20d6649a391.tar.gz |
disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)
Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 670dc2101c..b9bbedec95 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -24,6 +24,7 @@ * - fill all fields if non streamed (nb_frames for example) */ +#ifdef CONFIG_ENCODERS typedef struct AVIIentry { unsigned int flags, pos, len; } AVIIentry; @@ -69,6 +70,7 @@ void end_tag(ByteIOContext *pb, offset_t start) put_le32(pb, (uint32_t)(pos - start)); url_fseek(pb, pos, SEEK_SET); } +#endif //CONFIG_ENCODERS /* Note: when encoding, the first matching tag is used, so order is important if multiple tags possible for a given codec. */ @@ -206,6 +208,7 @@ enum CodecID codec_get_wav_id(unsigned int tag) return codec_get_id(codec_wav_tags, tag); } +#ifdef CONFIG_ENCODERS /* BITMAPINFOHEADER header */ void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const CodecTag *tags, int for_asf) { @@ -720,3 +723,4 @@ int avienc_init(void) av_register_output_format(&avi_oformat); return 0; } +#endif //CONFIG_ENCODERS |