]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/ptx.c
Remove unused variables along with the related warnings.
[frescor/ffmpeg.git] / libavcodec / ptx.c
index 67799fac9ec32b396f4972587e2c402f171aa419..ac3e7116f31c26598d17d18f7e627224de65901b 100644 (file)
@@ -38,7 +38,6 @@ static av_cold int ptx_init(AVCodecContext *avctx) {
 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
                             AVPacket *avpkt) {
     const uint8_t *buf = avpkt->data;
-    int buf_size = avpkt->size;
     PTXContext * const s = avctx->priv_data;
     AVFrame *picture = data;
     AVFrame * const p = &s->picture;