Allocate parameter sets sanely instead of using alloc_parameter_set().
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Dec 2008 16:04:03 +0000 (16:04 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Dec 2008 16:04:03 +0000 (16:04 +0000)
commit255d4e717faa98ab783401acd68a278af32f6360
treea9693badfd5e39f776304947a03a96f9e848a63e
parent42d1d06e8f3ba5ca12d1a942a9a2100edd41eee6
Allocate parameter sets sanely instead of using alloc_parameter_set().
Avoids ending up with half initialized parameter sets.
Fixes issue282.

Originally committed as revision 15971 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c