chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
929f577
)
missing 'break's
author
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 20 Nov 2009 18:31:06 +0000
(18:31 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 20 Nov 2009 18:31:06 +0000
(18:31 +0000)
clients/resample.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/resample.c
b/clients/resample.c
index 6c0bd3fd6d5786af50f0a43d8f4a43851b15a503..8ba1843bc5ee3a1aeb3e4aa06efe967669b3d7c8 100644
(file)
--- a/
clients/resample.c
+++ b/
clients/resample.c
@@
-11,7
+11,7
@@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@
-116,6
+116,7
@@
int main(int argc, char **argv) {
case 'n': case 'N': input_endian = ENDIAN_NATIVE; break;
default: disorder_fatal(0, "unknown endianness '%s'", optarg);
}
case 'n': case 'N': input_endian = ENDIAN_NATIVE; break;
default: disorder_fatal(0, "unknown endianness '%s'", optarg);
}
+ break;
case 'B': output_bits = atoi(optarg); break;
case 'C': output_channels = atoi(optarg); break;
case 'R': output_rate = atoi(optarg); break;
case 'B': output_bits = atoi(optarg); break;
case 'C': output_channels = atoi(optarg); break;
case 'R': output_rate = atoi(optarg); break;
@@
-128,6
+129,7
@@
int main(int argc, char **argv) {
case 'n': case 'N': output_endian = ENDIAN_NATIVE; break;
default: disorder_fatal(0, "unknown endianness '%s'", optarg);
}
case 'n': case 'N': output_endian = ENDIAN_NATIVE; break;
default: disorder_fatal(0, "unknown endianness '%s'", optarg);
}
+ break;
default: fatal(0, "invalid option");
}
}
default: fatal(0, "invalid option");
}
}