ebml: don't modify out str if returning an error in _read_ascii
authorPhilip Jägenstedt <philipj@opera.com>
Thu, 13 May 2010 07:18:56 +0000 (09:18 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 19 May 2010 18:35:06 +0000 (20:35 +0200)
commit9c1267b1a92068914cbf9cab9db48107797f1588
tree5ff4851ab09b55a75f094a25dc33f87e485bcc3f
parentc712d2879655ecf0e503e06cd32eb058ef1af047
ebml: don't modify out str if returning an error in _read_ascii

This is a regression from ASCII validation changes. Test case:
bug_s66876390_r0.001____malloc_printerr.webm
gst/matroska/ebml-read.c