aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-25 01:22:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-25 01:22:48 +0100
commitcf812d81296735b20dc70a63027c74d8008421b4 (patch)
treea5511688da6cca656e9783a89a51d571bffa5dc3
parentaf09be4f4b2f87e71a3396f54c24a166092ec8e3 (diff)
downloadffmpeg-cf812d81296735b20dc70a63027c74d8008421b4.tar.gz
avcodec/dvbsubdec: Remove unused display_list_size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/dvbsubdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index 999b3fa34d..3863a44111 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -236,7 +236,6 @@ typedef struct DVBSubContext {
DVBSubCLUT *clut_list;
DVBSubObject *object_list;
- int display_list_size;
DVBSubRegionDisplay *display_list;
DVBSubDisplayDefinition *display_definition;
} DVBSubContext;
@@ -1179,7 +1178,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx,
tmp_display_list = ctx->display_list;
ctx->display_list = NULL;
- ctx->display_list_size = 0;
while (buf + 5 < buf_end) {
region_id = *buf++;
@@ -1207,7 +1205,6 @@ static void dvbsub_parse_page_segment(AVCodecContext *avctx,
display->next = ctx->display_list;
ctx->display_list = display;
- ctx->display_list_size++;
av_dlog(avctx, "Region %d, (%d,%d)\n", region_id, display->x_pos, display->y_pos);
}