diff options
author | Jernej Fijačko <jernej@jernej.org> | 2014-11-09 08:48:46 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-11 11:49:54 +0100 |
commit | 1bdd21d97528d870fbb4388e837abaf390f2f7d7 (patch) | |
tree | 1ebc516c3763260aa544df50db0e095ae12e8b08 | |
parent | a6defd1f5b1bffcea7aa00ff379a6602cdaf2d05 (diff) | |
download | ffmpeg-1bdd21d97528d870fbb4388e837abaf390f2f7d7.tar.gz |
dvbsubdec: add missing break
Fix a memory leak too.
CC: libav-stable@libav.org
Bug-Id: CID 732230
-rw-r--r-- | libavcodec/dvbsubdec.c | 1 |
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; |