Fix 10l segfault with threads.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Jan 2010 20:19:19 +0000 (20:19 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Jan 2010 20:19:19 +0000 (20:19 +0000)
Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 8146ab6..63fe549 100644 (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);