mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 04:26:37 +08:00 
			
		
		
		
	g722enc: fix size argument in memset
Fixes CID700725.
This commit is contained in:
		| @@ -196,7 +196,7 @@ static void g722_encode_trellis(G722Context *c, int trellis, | ||||
|     for (i = 0; i < 2; i++) { | ||||
|         nodes[i] = c->nodep_buf[i]; | ||||
|         nodes_next[i] = c->nodep_buf[i] + frontier; | ||||
|         memset(c->nodep_buf[i], 0, 2 * frontier * sizeof(*c->nodep_buf)); | ||||
|         memset(c->nodep_buf[i], 0, 2 * frontier * sizeof(*c->nodep_buf[i])); | ||||
|         nodes[i][0] = c->node_buf[i] + frontier; | ||||
|         nodes[i][0]->ssd = 0; | ||||
|         nodes[i][0]->path = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Janne Grunau
					Janne Grunau