$OpenBSD: patch-modules_gui_pda_pda_callbacks_c,v 1.4 2010/05/05 08:43:35 edd Exp $
--- modules/gui/pda/pda_callbacks.c.orig	Fri May  8 20:10:50 2009
+++ modules/gui/pda/pda_callbacks.c	Sat May 16 08:47:18 2009
@@ -1032,7 +1032,7 @@ void onAddTranscodeToPlaylist(GtkButton *button, gpoin
     pl_Release( p_intf );
 
     /* 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{");
