changeset 36799:b24236587d70

yuv4mpeg: remove unused variable.
author reimar
date Wed, 19 Feb 2014 23:01:13 +0000
parents e4eaa6407e24
children f3c835ddce85
files libmpdemux/yuv4mpeg.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/yuv4mpeg.c	Wed Feb 19 23:01:11 2014 +0000
+++ b/libmpdemux/yuv4mpeg.c	Wed Feb 19 23:01:13 2014 +0000
@@ -412,7 +412,7 @@
 
 static int y4m_parse_frame_tags(char *s, y4m_frame_info_t *i)
 {
-  char *token, *value;
+  char *token;
   char tag;
   int err;
 
@@ -422,7 +422,6 @@
        token = strtok(NULL, Y4M_DELIM)) {
     if (token[0] == '\0') continue;   /* skip empty strings */
     tag = token[0];
-    value = token + 1;
     switch (tag) {
     case 'X':  /* 'X' meta-tag */
       if ((err = y4m_xtag_add(&(i->x_tags), token)) != Y4M_OK) return err;