Fix 10l segfault with threads.

Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-01-18 20:19:19 +00:00
parent 0fe674cb4a
commit fb823b7791

View File

@ -808,6 +808,7 @@ static void clone_tables(H264Context *dst, H264Context *src){
dst->mvd_table[0] = src->mvd_table[0];
dst->mvd_table[1] = src->mvd_table[1];
dst->direct_table = src->direct_table;
dst->list_counts = src->list_counts;
dst->s.obmc_scratchpad = NULL;
ff_h264_pred_init(&dst->hpc, src->s.codec_id);