projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
715731a
)
the ongoing struggle for encoding conditionals
author
Mike Melanson
<mike@multimedia.cx>
Sun, 13 Jun 2004 00:10:07 +0000
(
00:10
+0000)
committer
Mike Melanson
<mike@multimedia.cx>
Sun, 13 Jun 2004 00:10:07 +0000
(
00:10
+0000)
Originally committed as revision 3220 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq1.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq1.c
b/libavcodec/svq1.c
index
24b852b
..
25bc44f
100644
(file)
--- a/
libavcodec/svq1.c
+++ b/
libavcodec/svq1.c
@@
-1067,6
+1067,8
@@
static int encode_block(SVQ1Context *s, uint8_t *src, uint8_t *ref, uint8_t *dec
return best_score;
}
+#ifdef CONFIG_ENCODERS
+
static void svq1_encode_plane(SVQ1Context *s, int plane, unsigned char *src_plane, unsigned char *ref_plane, unsigned char *decoded_plane,
int width, int height, int src_stride, int stride)
{
@@
-1367,6
+1369,8
@@
static int svq1_encode_end(AVCodecContext *avctx)
return 0;
}
+#endif //CONFIG_ENCODERS
+
AVCodec svq1_decoder = {
"svq1",
CODEC_TYPE_VIDEO,