Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d079d1d3
Commit
d079d1d3
authored
Jan 01, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: do not escape '"' between single quotes.
parent
c1abfcd7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ffprobe.c
ffprobe.c
+4
-4
No files found.
ffprobe.c
View file @
d079d1d3
...
...
@@ -642,15 +642,15 @@ static const char *csv_escape_str(AVBPrint *dst, const char *src, const char sep
int
needs_quoting
=
!!
src
[
strcspn
(
src
,
meta_chars
)];
if
(
needs_quoting
)
av_bprint_chars
(
dst
,
'
\
"'
,
1
);
av_bprint_chars
(
dst
,
'"'
,
1
);
for
(;
*
src
;
src
++
)
{
if
(
*
src
==
'"'
)
av_bprint_chars
(
dst
,
'
\
"'
,
1
);
av_bprint_chars
(
dst
,
'"'
,
1
);
av_bprint_chars
(
dst
,
*
src
,
1
);
}
if
(
needs_quoting
)
av_bprint_chars
(
dst
,
'
\
"'
,
1
);
av_bprint_chars
(
dst
,
'"'
,
1
);
return
dst
->
str
;
}
...
...
@@ -1254,7 +1254,7 @@ static const char *xml_escape_str(AVBPrint *dst, const char *src, void *log_ctx)
case
'&'
:
av_bprintf
(
dst
,
"%s"
,
"&"
);
break
;
case
'<'
:
av_bprintf
(
dst
,
"%s"
,
"<"
);
break
;
case
'>'
:
av_bprintf
(
dst
,
"%s"
,
">"
);
break
;
case
'
\"'
:
av_bprintf
(
dst
,
"%s"
,
"""
);
break
;
case
'
"'
:
av_bprintf
(
dst
,
"%s"
,
"""
);
break
;
case
'\''
:
av_bprintf
(
dst
,
"%s"
,
"'"
);
break
;
default:
av_bprint_chars
(
dst
,
*
p
,
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment