summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-18 20:19:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-18 20:19:19 +0000
commitfb823b779113c6ef9716f95635deb76b912e0595 (patch)
tree5971070dea39b7fd189d26abd95d143809c10611 /libavcodec/h264.c
parent0fe674cb4a1e276d3c5fe1b746183eba3ad34891 (diff)
Fix 10l segfault with threads.
Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
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);