]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sp5xdec.c
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
[ffmpeg] / libavcodec / sp5xdec.c
index 1af978f21b5b05fd39131d1af24762a1ff92ca2d..0b56c101dbeb75aa71a123c00bf40996ef26b406 100644 (file)
@@ -38,15 +38,12 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
     int buf_size = avpkt->size;
     AVPacket avpkt_recoded;
     const int qscale = 5;
-    const uint8_t *buf_ptr;
     uint8_t *recoded;
     int i = 0, j = 0;
 
     if (!avctx->width || !avctx->height)
         return -1;
 
-    buf_ptr = buf;
-
     recoded = av_mallocz(buf_size + 1024);
     if (!recoded)
         return -1;