From 31aa4a19da2de6bf3299d64a73bc2a1d39a0474a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 9 Dec 2003 23:55:11 +0000 Subject: 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 --- include/xine.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3