X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ftscc.c;h=bc57ec74cb01657dfd8703d97eff06b29227d676;hb=4ccb7911baa761d373e28068b93db13a76a780b8;hp=e12b9a31fccc6bde1ddf7c3dcfe49ed61270b897;hpb=40c29d42cfe5615b9e382b89f5bcba7a2d62cd29;p=ffmpeg diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index e12b9a31fcc..bc57ec74cb0 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -75,7 +75,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac int buf_size = avpkt->size; CamtasiaContext * const c = avctx->priv_data; const unsigned char *encoded = buf; - unsigned char *outptr; int zret; // Zlib return code int len = buf_size; @@ -89,8 +88,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac return -1; } - outptr = c->pic.data[0]; // Output image pointer - zret = inflateReset(&(c->zstream)); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret);