Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-09-23 04:25:41 +0400
committerDiego Biurrun <diego@biurrun.de>2005-09-23 04:25:41 +0400
commita9e350952992f07f4b560385185f406fbbb752d7 (patch)
tree05d33876774bc092ffee92ecabd160ae3dc2205c /libavformat/jpeg.c
parent288f1e6815fc52196fd1f443d305a4822bf371a2 (diff)
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at some point + support for this option in configure. Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/jpeg.c')
-rw-r--r--libavformat/jpeg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/jpeg.c b/libavformat/jpeg.c
index d922d6c73a..bf640d87a6 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_ENCODERS
+#ifdef CONFIG_MUXERS
static int jpeg_write(ByteIOContext *pb, AVImageInfo *info)
{
AVCodecContext *c;
@@ -222,7 +222,7 @@ static int jpeg_write(ByteIOContext *pb, AVImageInfo *info)
av_free(c);
return ret;
}
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
AVImageFormat jpeg_image_format = {
"jpeg",
@@ -230,9 +230,9 @@ AVImageFormat jpeg_image_format = {
jpeg_probe,
jpeg_read,
(1 << PIX_FMT_YUVJ420P) | (1 << PIX_FMT_YUVJ422P) | (1 << PIX_FMT_YUVJ444P),
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_MUXERS
jpeg_write,
#else
NULL,
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_MUXERS
};