diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2003-12-09 23:55:11 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2003-12-09 23:55:11 +0000 |
commit | 31aa4a19da2de6bf3299d64a73bc2a1d39a0474a (patch) | |
tree | 48ae1839989816e7460bb3bc80e4f54875406975 /include | |
parent | 6f45ec9cb3f48dbd82432fe09a47714182bc6530 (diff) | |
download | xine-lib-31aa4a19da2de6bf3299d64a73bc2a1d39a0474a.tar.gz xine-lib-31aa4a19da2de6bf3299d64a73bc2a1d39a0474a.tar.bz2 |
Fix crash with really long subtitle/language names in ogm/off files
Fixes playback of http://www.lysator.liu.se/~philip/sample.ogg
Front-ends should be using XINE_LANG_LABEL_MAX_SIZE as the max size for
language/subtitle labels
CVS patchset: 5882
CVS date: 2003/12/09 23:55:11
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index b92a98cd9..ec85ac583 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.108 2003/12/09 00:02:28 f1rmb Exp $ + * $Id: xine.h.in,v 1.109 2003/12/09 23:55:11 hadess Exp $ * * public xine-lib (libxine) interface and documentation * @@ -794,6 +794,7 @@ int xine_get_audio_lang (xine_stream_t *stream, int channel, int xine_get_spu_lang (xine_stream_t *stream, int channel, char *lang); #define XINE_LANG_MAX 32 +#define XINE_LANG_LABEL_MAX_SIZE 128 /* * get position / length information |