diff options
Diffstat (limited to 'packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c')
-rw-r--r-- | packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c b/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c index e69de29bb2..3396a5616f 100644 --- a/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c +++ b/packages/mgetty/mgetty-1.1.30/26-voice_libpvf_usr.c @@ -0,0 +1,16 @@ +--- mgetty-1.1.27.orig/voice/libpvf/usr.c ++++ mgetty-1.1.27/voice/libpvf/usr.c +@@ -103,9 +103,13 @@ + } + } + gsm_encode(r, s, d); ++#if defined(old_USR_GSM_with_head_and_tail_bytes) + fwrite((char *)gsm_head, 2, 1, fd_out); ++#endif + fwrite((char *)d, sizeof(d), 1, fd_out); ++#if defined(old_USR_GSM_with_head_and_tail_bytes) + fwrite((char *)gsm_tail, 3, 1, fd_out); ++#endif + } + gsm_destroy(r); + return(OK); |