mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-29 20:56:12 +02:00
avcodec/pgssubdec: remove unused variables
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
89bcb77726
commit
e429d6c197
@ -386,8 +386,6 @@ static int parse_presentation_segment(AVCodecContext *avctx,
|
|||||||
int w = bytestream_get_be16(&buf);
|
int w = bytestream_get_be16(&buf);
|
||||||
int h = bytestream_get_be16(&buf);
|
int h = bytestream_get_be16(&buf);
|
||||||
|
|
||||||
uint16_t object_index;
|
|
||||||
|
|
||||||
ctx->presentation.pts = pts;
|
ctx->presentation.pts = pts;
|
||||||
|
|
||||||
av_dlog(avctx, "Video Dimensions %dx%d\n",
|
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;
|
const uint8_t *buf = avpkt->data;
|
||||||
int buf_size = avpkt->size;
|
int buf_size = avpkt->size;
|
||||||
AVSubtitle *sub = data;
|
|
||||||
|
|
||||||
const uint8_t *buf_end;
|
const uint8_t *buf_end;
|
||||||
uint8_t segment_type;
|
uint8_t segment_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user