flacdec: don't create an attached picture stream until we have all information.
authorAnton Khirnov <anton@khirnov.net>
Fri, 6 Jul 2012 20:21:09 +0000 (22:21 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 7 Jul 2012 18:33:44 +0000 (20:33 +0200)
commitdba5b06ead6bbec8fd1207d778240188182c8361
tree957fd8067607118306c88973ee2033ea61c45960
parentfdaad6354fbf1925c9bfeadd32950c503c1103ad
flacdec: don't create an attached picture stream until we have all information.

This way we don't end with an invalid stream if parsing the picture
fails.
libavformat/flacdec.c