$OpenBSD: patch-modules_gui_pda_pda_callbacks_c,v 1.2 2006/11/03 15:15:07 jolan Exp $
--- modules/gui/pda/pda_callbacks.c.orig	Sat May  6 10:52:17 2006
+++ modules/gui/pda/pda_callbacks.c	Fri Oct 20 14:32:38 2006
@@ -1041,7 +1041,7 @@ void onAddTranscodeToPlaylist(GtkButton 
     if( p_playlist == NULL ) return;
 
     /* Get all the options. */
-    i_pos = snprintf( &mrl[0], VLC_MAX_MRL, "sout");
+    i_pos = snprintf( &mrl[0], 6, "sout");
     mrl[6] = '\0';
     /* option 1 */
     i_pos = snprintf( &ppsz_options[i_options][0], VLC_MAX_MRL, "sout='#transcode{");
