[vlc-commits] Remove faulty return when vobsub doesn't define a size.

Denis Charmet git at videolan.org
Wed Jan 1 22:39:12 CET 2014


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Wed Jan  1 22:35:36 2014 +0100| [33f3158d5e79432b06ae8014aa999514f6f19f90] | committer: Denis Charmet

Remove faulty return when vobsub doesn't define a size.

Close #10111

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33f3158d5e79432b06ae8014aa999514f6f19f90
---

 modules/demux/mkv/matroska_segment_parse.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index ea2109c..05513be 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1771,7 +1771,6 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
                 {
                     free( psz_buf );
                     msg_Warn( &sys.demuxer, "reading original frame size for vobsub failed" );
-                    return 1;
                 }
 
                 psz_start = strstr( psz_buf, "palette:" );



More information about the vlc-commits mailing list