Fix palette mode in multi-thread encoding setting

Fix a couple of memory related errors. Also fix thread test failures.

Change-Id: I0103995f832cecf1dd2380000321ac7204f0cfc0
This commit is contained in:
hui su
2015-10-14 20:18:18 -07:00
parent a5d74843eb
commit aaf6f6215f
5 changed files with 13 additions and 13 deletions

View File

@@ -1217,7 +1217,7 @@ static void write_uncompressed_header(VP10_COMP *cpi,
write_sync_code(wb);
write_bitdepth_colorspace_sampling(cm, wb);
write_frame_size(cm, wb);
if (cm->current_video_frame == 0)
if (frame_is_intra_only(cm))
vpx_wb_write_bit(wb, cm->allow_screen_content_tools);
} else {
if (!cm->show_frame)