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

Denis Charmet git at videolan.org
Wed Jan 1 22:43:46 CET 2014


vlc/vlc-2.1 | branch: master | Denis Charmet <typx at dinauz.org> | Wed Jan  1 22:35:36 2014 +0100| [7e69bdda0daca242c4e63e57c3d5af4c0e570b6a] | committer: Denis Charmet

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

Close #10111

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=7e69bdda0daca242c4e63e57c3d5af4c0e570b6a
---

 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 c9d2c9d..045de89 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1706,7 +1706,6 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
                 else
                 {
                     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