mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 15:08:17 +01:00
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12372 d708f5d6-7413-0410-9779-e7cbd77b26cf
15 lines
520 B
Diff
15 lines
520 B
Diff
--- src/broadcast.c~ 2011-03-27 23:53:08.000000000 -0400
|
|
+++ src/broadcast.c 2012-05-21 21:23:11.914815287 -0400
|
|
@@ -82,8 +82,10 @@
|
|
|
|
/* Force coding_history_size to be even. */
|
|
len = strlen (psf->broadcast_16k->coding_history) ;
|
|
- len += (len & 1) ? 1 : 2 ;
|
|
- psf->broadcast_16k->coding_history_size = len ;
|
|
+ if (len && ( len & 1)) {
|
|
+ len += 1;
|
|
+ }
|
|
+ psf->broadcast_16k->coding_history_size = len ;
|
|
|
|
/* Currently writing this version. */
|
|
psf->broadcast_16k->version = 1 ;
|