Browse Source

avcodec/pgssubdec: remove unused variables

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
e429d6c197
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/pgssubdec.c

+ 0
- 3
libavcodec/pgssubdec.c View File

@@ -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;


Loading…
Cancel
Save