dvbsubdec: add missing break
authorJernej Fijačko <jernej@jernej.org>
Sun, 9 Nov 2014 07:48:46 +0000 (08:48 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 11 Nov 2014 10:49:54 +0000 (11:49 +0100)
Fix a memory leak too.

CC: libav-stable@libav.org
Bug-Id: CID 732230

libavcodec/dvbsubdec.c

index 1dcefae..a4586ad 100644 (file)
@@ -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;