Mercurial > mplayer.hg
diff sub/vobsub.c @ 36253:5c8339df2496
Check if path is too long
Some buggy libc such as OS/2 kLIBC crashes if path is too long.
author | komh |
---|---|
date | Mon, 17 Jun 2013 12:27:36 +0000 |
parents | 389d43c448b3 |
children | 98b2752facfd |
line wrap: on
line diff
--- a/sub/vobsub.c Sun Jun 16 22:35:51 2013 +0000 +++ b/sub/vobsub.c Mon Jun 17 12:27:36 2013 +0000 @@ -42,6 +42,7 @@ #include "unrar_exec.h" #include "libavutil/common.h" #include "libavutil/intreadwrite.h" +#include "osdep/osdep.h" // Record the original -vobsubid set by commandline, since vobsub_id will be // overridden if slang match any of vobsub streams.