Ticket #825: patchasftrack.diff
| File patchasftrack.diff, 545 bytes (added by , 15 years ago) |
|---|
-
libavformat/asfdec.c
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 3f733f7..a58b8a5 100644
a b static void get_tag(AVFormatContext *s, const char *key, int type, int len) 176 176 av_log(s, AV_LOG_DEBUG, "Unsupported value type %d in tag %s.\n", type, key); 177 177 goto finish; 178 178 } 179 if (!memcmp(key, "WM/Track\0", 9)) 180 snprintf(value, 2 * len + 1, "%ld", strtol(value, NULL, 10) + 1); 179 181 if (*value) 180 182 av_dict_set(&s->metadata, key, value, 0); 181 183 finish:
