672bff840b
Update to 0.6.14; from new maintainer Jacob Meuser <jakemsr@jakemsr.com>. Notable changes: - new import module for bktr(4) devices, import_bktr - new import module for audio(4) devices, import_sunau - export profiles - better error checking - uses YV12/I420 colorspace by default instead of RGB - uses external ffmpeg/libavcodec - optimized memcpy on i386 - many small bugs fixed
13 lines
551 B
Plaintext
13 lines
551 B
Plaintext
$OpenBSD: patch-src_audio_trans_c,v 1.1.1.1 2005/01/25 21:58:59 naddy Exp $
|
|
--- src/audio_trans.c.orig Tue Nov 2 19:45:36 2004
|
|
+++ src/audio_trans.c Fri Dec 31 01:13:17 2004
|
|
@@ -203,7 +203,7 @@ int process_aud_frame(vob_t *vob, aframe
|
|
s = (short *)ptr->audio_buf + ptr->audio_size;
|
|
b = (char *)ptr->audio_buf + ptr->audio_size;
|
|
for (n = 0; n < ptr->audio_size; n++) *--s = ((short)*--b - 0x80) * 0x100;
|
|
- ptr->audio_size /= 2;
|
|
+ ptr->audio_size *= 2;
|
|
}
|
|
|
|
//-----------------------------------------------------------------
|