--info flag returns invalid JSON
Bug #1265233 reported by
Mason McLead
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg2theora |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When getting the metadata about the files the json_add_key_value method creates JSON values with invalid characters.
This causes the returned JSON to be invalid.
See this branch for updated code with a fix
https:/
Here is a pull request to my own repository
Related branches
To post a comment you must log in.
Here is an example of some invalid JSON output from ffmpeg2theora: https:/ /gist.github. com/messick/ 8202020
the key "handler_name" has a value with a '\f' character, which is illegal according to defintition of "char" on json.org. The following lists should be escaped:
\"
\\
\/
\b
\f
\n
\r
\t
\u four-hex-digits