Commit cf812d81 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dvbsubdec: Remove unused display_list_size

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent af09be4f
...@@ -236,7 +236,6 @@ typedef struct DVBSubContext { ...@@ -236,7 +236,6 @@ typedef struct DVBSubContext {
DVBSubCLUT *clut_list; DVBSubCLUT *clut_list;
DVBSubObject *object_list; DVBSubObject *object_list;
int display_list_size;
DVBSubRegionDisplay *display_list; DVBSubRegionDisplay *display_list;
DVBSubDisplayDefinition *display_definition; DVBSubDisplayDefinition *display_definition;
} DVBSubContext; } DVBSubContext;
...@@ -1179,7 +1178,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx, ...@@ -1179,7 +1178,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx,
tmp_display_list = ctx->display_list; tmp_display_list = ctx->display_list;
ctx->display_list = NULL; ctx->display_list = NULL;
ctx->display_list_size = 0;
while (buf + 5 < buf_end) { while (buf + 5 < buf_end) {
region_id = *buf++; region_id = *buf++;
...@@ -1207,7 +1205,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx, ...@@ -1207,7 +1205,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx,
display->next = ctx->display_list; display->next = ctx->display_list;
ctx->display_list = display; ctx->display_list = display;
ctx->display_list_size++;
av_dlog(avctx, "Region %d, (%d,%d)\n", region_id, display->x_pos, display->y_pos); av_dlog(avctx, "Region %d, (%d,%d)\n", region_id, display->x_pos, display->y_pos);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment