summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsubdec.c
diff options
context:
space:
mode:
authorJernej Fijačko <jernej@jernej.org>2014-11-09 08:48:46 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-11 11:49:54 +0100
commit1bdd21d97528d870fbb4388e837abaf390f2f7d7 (patch)
tree1ebc516c3763260aa544df50db0e095ae12e8b08 /libavcodec/dvbsubdec.c
parenta6defd1f5b1bffcea7aa00ff379a6602cdaf2d05 (diff)
dvbsubdec: add missing break
Fix a memory leak too. CC: libav-stable@libav.org Bug-Id: CID 732230
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r--libavcodec/dvbsubdec.c1
1 files changed, 1 insertions, 0 deletions
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;