dvbsubdec: add missing break

Fix a memory leak too.

CC: libav-stable@libav.org
Bug-Id: CID 732230
This commit is contained in:
Jernej Fijačko 2014-11-09 08:48:46 +01:00 committed by Vittorio Giovara
parent a6defd1f5b
commit 1bdd21d975

View 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;