From 1bdd21d97528d870fbb4388e837abaf390f2f7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jernej=20Fija=C4=8Dko?= Date: Sun, 9 Nov 2014 08:48:46 +0100 Subject: [PATCH] dvbsubdec: add missing break Fix a memory leak too. CC: libav-stable@libav.org Bug-Id: CID 732230 --- libavcodec/dvbsubdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 1dcefae4e3..a4586ad757 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1444,6 +1444,7 @@ static int dvbsub_decode(AVCodecContext *avctx, break; case DVBSUB_DISPLAYDEFINITION_SEGMENT: dvbsub_parse_display_definition_segment(avctx, p, segment_length); + break; case DVBSUB_DISPLAY_SEGMENT: *data_size = dvbsub_display_end_segment(avctx, p, segment_length, sub); break;