diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
commit | ff70e60176056daf646109b8e42654a3036fa02b (patch) | |
tree | 42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/jpeg.c | |
parent | 4cac0d5589ab1a076e977425925015f2c8e591a8 (diff) | |
download | ffmpeg-ff70e60176056daf646109b8e42654a3036fa02b.tar.gz |
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/jpeg.c')
-rw-r--r-- | libavformat/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/jpeg.c b/libavformat/jpeg.c index 615ab886b9..e51e5b2c0e 100644 --- a/libavformat/jpeg.c +++ b/libavformat/jpeg.c @@ -160,7 +160,7 @@ static int jpeg_read(ByteIOContext *f, return jctx.ret_code; } -#ifdef CONFIG_MUXERS +#if defined(CONFIG_MUXERS) && defined(CONFIG_MJPEG_ENCODER) static int jpeg_write(ByteIOContext *pb, AVImageInfo *info) { AVCodecContext *c; @@ -230,7 +230,7 @@ AVImageFormat jpeg_image_format = { jpeg_probe, jpeg_read, (1 << PIX_FMT_YUVJ420P) | (1 << PIX_FMT_YUVJ422P) | (1 << PIX_FMT_YUVJ444P), -#ifdef CONFIG_MUXERS +#if defined(CONFIG_MUXERS) && defined(CONFIG_MJPEG_ENCODER) jpeg_write, #else NULL, |