lavf/segment: Simplify CSV field quoting code
authorAlexander Strasser <eclipse7@gmx.net>
Sun, 9 Sep 2012 19:27:13 +0000 (21:27 +0200)
committerAlexander Strasser <eclipse7@gmx.net>
Sat, 15 Sep 2012 20:55:21 +0000 (22:55 +0200)
commitbac1b31bf63554bd9e0e38ef06125234aff41dc9
tree827b10b8ca8a75c74af166463c50b52eee4e946d
parentaefed6ca87971a9d277157c92fef4cdd42c5c1e2
lavf/segment: Simplify CSV field quoting code

Should also be faster (though I doubt that hardly ever matters
for the usage here).

Also remove the pointer copy. Since we do not need to reset the
pointer to the start of the string, it is not needed anymore.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
libavformat/segment.c