]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/smacker.c
Fix segault
[frescor/ffmpeg.git] / libavcodec / smacker.c
index ac638f852269ab904aaea15200f56ca5cdb482f8..3b3d03e7e40814b637d085c1ccf27408bbf578f2 100644 (file)
@@ -34,7 +34,7 @@
 #include "avcodec.h"
 
 #define ALT_BITSTREAM_READER_LE
-#include "bitstream.h"
+#include "get_bits.h"
 #include "bytestream.h"
 
 #define SMKTREE_BITS 9
@@ -514,8 +514,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
 
     c->avctx = avctx;
 
-    c->pic.data[0] = NULL;
-
     if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }