# HG changeset patch # User rbultje # Date 1238212471 0 # Node ID 9145790397e64eee8407ea2db35ae9b19a6b0093 # Parent f48c56ac46c215792603cddc6fd1164a6c1887fc Don't strip the first three characters off of any metadata in ASF file. See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by David DeHaven . diff -r f48c56ac46c2 -r 9145790397e6 asfdec.c --- a/asfdec.c Fri Mar 27 21:36:44 2009 +0000 +++ b/asfdec.c Sat Mar 28 03:54:31 2009 +0000 @@ -158,7 +158,7 @@ url_fskip(s->pb, len); return; } - if (strncmp(key, "WM/", 3)) + if (!strncmp(key, "WM/", 3)) key += 3; av_metadata_set(&s->metadata, key, value); }