vocdec: do not create the stream in read_header()
authorAnton Khirnov <anton@khirnov.net>
Sun, 18 Oct 2015 19:21:55 +0000 (21:21 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 12 Dec 2015 20:27:11 +0000 (21:27 +0100)
commit9f0b6e6827e21e3477abe1199dc2728e30b8c061
tree64f0e5efffc4b5dfdc1e394ec20067ccab3a535d
parent2d0432d918a71468419b7ac1e543ab3b399d3d37
vocdec: do not create the stream in read_header()

The stream parameters are not known until we read a packet, so postpone
creating it until then.
libavformat/vocdec.c