pgssubdec: remove unused variable
authorPaul B Mahol <onemda@gmail.com>
Wed, 28 Nov 2012 16:20:08 +0000 (16:20 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 28 Nov 2012 16:21:25 +0000 (16:21 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/pgssubdec.c

index b183f30..d0cff7b 100644 (file)
@@ -449,7 +449,6 @@ static int display_end_segment(AVCodecContext *avctx, void *data,
 static int decode(AVCodecContext *avctx, void *data, int *data_size,
                   AVPacket *avpkt)
 {
-    PGSSubContext *ctx = avctx->priv_data;
     const uint8_t *buf = avpkt->data;
     int buf_size       = avpkt->size;
     AVSubtitle *sub    = data;