[FFmpeg-cvslog] Patch for memory leaks in DVB subtitles decoder

Jernej Fijačko git at videolan.org
Sat Jul 16 12:38:48 CEST 2011


ffmpeg | branch: master | Jernej Fijačko <jernej at jernej-ThinkCentre-M91p.(none)> | Mon Jul 11 10:11:04 2011 +0200| [8b973d4937f833d1c7a226cfb2c2bc404e8f23a7] | committer: Joakim Plate

Patch for memory leaks in DVB subtitles decoder

Signed-off-by: Joakim Plate <elupus at ecce.se>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b973d4937f833d1c7a226cfb2c2bc404e8f23a7
---

 libavcodec/dvbsubdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index 5b09eb1..c5e7b17 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -1463,6 +1463,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;



More information about the ffmpeg-cvslog mailing list