]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flashsv.c
cosmetics: Move one code block to save an #ifdef in the next commit.
[ffmpeg] / libavcodec / flashsv.c
index c2bbb3de236873df2bac862c60eb3611e79ead82..515085c0288a4d4694cc4f1d501f36437808fdcb 100644 (file)
@@ -54,7 +54,6 @@
 #include "avcodec.h"
 #include "bitstream.h"
 
-#ifdef CONFIG_ZLIB
 #include <zlib.h>
 
 typedef struct FlashSVContext {
@@ -96,7 +95,6 @@ static int flashsv_decode_init(AVCodecContext *avctx)
         return 1;
     }
     avctx->pix_fmt = PIX_FMT_BGR24;
-    avctx->has_b_frames = 0;
     s->frame.data[0] = NULL;
 
     return 0;
@@ -259,4 +257,3 @@ AVCodec flashsv_decoder = {
     CODEC_CAP_DR1,
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1},
 };
-#endif //CONFIG_ZLIB