From fb823b779113c6ef9716f95635deb76b912e0595 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Mon, 18 Jan 2010 20:19:19 +0000
Subject: [PATCH] Fix 10l segfault with threads.
Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
libavcodec/h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 8146ab6cf0..63fe549062 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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);