Commit b42e98de authored by Yushin Cho's avatar Yushin Cho

[seg] Initialize temporal_update flag

Initialization has been nowhere done for seg->temporal_update.

Change-Id: I3ccc0e10e14a83859b683c026093b921ea6d5dbf
parent 5a06fe32
......@@ -23,12 +23,14 @@ void av1_enable_segmentation(struct segmentation *seg) {
seg->enabled = 1;
seg->update_map = 1;
seg->update_data = 1;
seg->temporal_update = 0;
}
void av1_disable_segmentation(struct segmentation *seg) {
seg->enabled = 0;
seg->update_map = 0;
seg->update_data = 0;
seg->temporal_update = 0;
}
void av1_disable_segfeature(struct segmentation *seg, int segment_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment