diff options
author | peng.chen <peng.c.chen@intel.com> | 2017-05-02 11:03:32 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-06-12 09:41:01 +0800 |
commit | f5de9becf366fb44d94702eef01064021eb8044f (patch) | |
tree | 24020219b814c066f06c671552cdfcbb5705096f | |
parent | 7b2f55537979b00bca1b902920c698f9eb5fd655 (diff) | |
download | libva-f5de9becf366fb44d94702eef01064021eb8044f.tar.gz |
Add the suffix_str back into the tracing file name
Fix #44
(cherry picked from commit bd949b77e8f0226a746b5fc2002b01a0e9ea1f2e)
-rw-r--r-- | va/va_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/va/va_trace.c b/va/va_trace.c index ff7aa5d..4b43c87 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -504,7 +504,7 @@ static void FILE_NAME_SUFFIX( int size = 0; if (suffix_str) - strlen(suffix_str); + size = strlen(suffix_str); if(left < (size + 8 + 10)) return; |