OSDN Git Service

ogg: Always alloc the private context in vorbis_header
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 13 Aug 2013 05:28:41 +0000 (07:28 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 13 Aug 2013 12:04:55 +0000 (14:04 +0200)
commit3562684db716d11de0b0dcc52748e9cd90d68132
tree6f9efb9cdeafff099d6038f8b0607fbbf463dc8c
parentf13fe6020e6a3871f9b0c96b240e58e6ed4fb5d7
ogg: Always alloc the private context in vorbis_header

It is possible to have an initial broken header and then valid packets.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/oggparsevorbis.c