Source and destination buffers are in the wrong order in your call to memcpy. Argument order must be dest, src, size instead of src, dest, size.
Am 02.07.2013 17:24, schrieb Burak Orçun Özkablan: > *// copy buffer array to m_pile_array* > *if(input_pile_size > 0) {* > *memcpy(input_pile_array, buffer, input_pile_size);* > **bytes = input_pile_size;// = 0;* _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev