Commit 97ec93e1 authored by Benjamin Larsson's avatar Benjamin Larsson

Don't break compilation on systems without zlib.

Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0f7af066
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef CONFIG_ZLIB
#include <zlib.h> #include <zlib.h>
#include "common.h" #include "common.h"
...@@ -257,3 +258,4 @@ AVCodec flashsv_decoder = { ...@@ -257,3 +258,4 @@ AVCodec flashsv_decoder = {
CODEC_CAP_DR1, CODEC_CAP_DR1,
.pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1}, .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1},
}; };
#endif //CONFIG_ZLIB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment