X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finput%2Fmem_stream.c;h=5ed06ff09d5e510962a967b49aec30738e333908;hb=f64fd9acd66302b78d0282bcdb3011b4c6906733;hp=aacb35c57c08dc19b59ead3562d150c27d3da5fd;hpb=f60b4c79acaf0412280672f83677a96e74dacb65;p=vlc diff --git a/src/input/mem_stream.c b/src/input/mem_stream.c index aacb35c57c..5ed06ff09d 100644 --- a/src/input/mem_stream.c +++ b/src/input/mem_stream.c @@ -2,7 +2,7 @@ * mem_stream.c: stream_t wrapper around memory buffer ***************************************************************************** * Copyright (C) 1999-2004 the VideoLAN team - * $Id: stream.c 9390 2004-11-22 09:56:48Z fenrir $ + * $Id$ * * Authors: Sigmund Augdal Helberg * @@ -18,12 +18,11 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #include #include -#include #include "input_internal.h" @@ -69,6 +68,9 @@ stream_t *__stream_MemoryNew( vlc_object_t *p_this, uint8_t *p_buffer, s->pf_peek = Peek; s->pf_control = Control; s->pf_destroy = Delete; + + s->i_char_width = 1; + s->b_little_endian = VLC_FALSE; vlc_object_attach( s, p_this ); return s;