summaryrefslogtreecommitdiff
path: root/libavcodec/pgssubdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-30 18:24:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-30 18:24:37 +0200
commite429d6c1971db72195d84da2463859498cd030dc (patch)
tree1eb9d47289d5f96d5a76acd4bc79858ddb6d6205 /libavcodec/pgssubdec.c
parent89bcb77726e222aee9d8536f0310d805f7d39fac (diff)
downloadffmpeg-e429d6c1971db72195d84da2463859498cd030dc.tar.gz
avcodec/pgssubdec: remove unused variables
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pgssubdec.c')
-rw-r--r--libavcodec/pgssubdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index d1be074138..4b07b6e8a5 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -386,8 +386,6 @@ static int parse_presentation_segment(AVCodecContext *avctx,
int w = bytestream_get_be16(&buf);
int h = bytestream_get_be16(&buf);
- uint16_t object_index;
-
ctx->presentation.pts = pts;
av_dlog(avctx, "Video Dimensions %dx%d\n",
@@ -596,7 +594,6 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size,
{
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
- AVSubtitle *sub = data;
const uint8_t *buf_end;
uint8_t segment_type;