[xiph-commits] r18998 - trunk/y4oi
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sun Sep 15 18:46:20 PDT 2013
Author: xiphmont
Date: 2013-09-15 18:46:20 -0700 (Sun, 15 Sep 2013)
New Revision: 18998
Modified:
trunk/y4oi/y4o.c
Log:
Correct some build warnings re: unused variables
Modified: trunk/y4oi/y4o.c
===================================================================
--- trunk/y4oi/y4o.c 2013-09-11 20:00:14 UTC (rev 18997)
+++ trunk/y4oi/y4o.c 2013-09-16 01:46:20 UTC (rev 18998)
@@ -107,7 +107,7 @@
/* S%c = sync */
{
- char *token, *value;
+ char *token; //, *value;
char tag;
*sync=-1;
@@ -118,7 +118,7 @@
token = strtok(NULL, " ")) {
if (token[0] == '\0') continue; /* skip empty strings */
tag = token[0];
- value = token + 1;
+ //value = token + 1;
switch (tag) {
case 'S':
switch(token[1]){
@@ -208,7 +208,7 @@
*/
{
- char *token, *value;
+ char *token;//, *value;
char tag;
int i;
s->m.video.format=-1;
@@ -220,7 +220,7 @@
token = strtok(NULL, " ")) {
if (token[0] == '\0') continue; /* skip empty strings */
tag = token[0];
- value = token + 1;
+ //value = token + 1;
switch (tag) {
case 'W':
s->m.video.w = atoi(token+1);
@@ -354,7 +354,7 @@
*/
{
- char *token, *value;
+ char *token;//, *value;
char tag;
/* parse fields */
@@ -363,7 +363,7 @@
token = strtok(NULL, " ")) {
if (token[0] == '\0') continue; /* skip empty strings */
tag = token[0];
- value = token + 1;
+ //value = token + 1;
switch (tag) {
case 'R':
s->m.audio.rate = atoi(token+1);
@@ -542,7 +542,7 @@
P%g = pts */
{
- char *token, *value;
+ char *token;//, *value;
char tag;
streamno=-1;
@@ -555,7 +555,7 @@
token = strtok(NULL, " ")) {
if (token[0] == '\0') continue; /* skip empty strings */
tag = token[0];
- value = token + 1;
+ //value = token + 1;
switch (tag) {
case 'S':
streamno = atoi(token+1);
More information about the commits
mailing list