mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	rename FR_SET_BUF to AST_FRAME_SET_BUFFER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -369,7 +369,7 @@ static struct ast_frame *wav_read(struct ast_filestream *s, int *whennext) | ||||
| 	s->fr.frametype = AST_FRAME_VOICE; | ||||
| 	s->fr.subclass = AST_FORMAT_SLINEAR; | ||||
| 	s->fr.mallocd = 0; | ||||
| 	FR_SET_BUF(&s->fr, s->buf, AST_FRIENDLY_OFFSET, bytes); | ||||
| 	AST_FRAME_SET_BUFFER(&s->fr, s->buf, AST_FRIENDLY_OFFSET, bytes); | ||||
| 	 | ||||
| 	if ( (res = fread(s->fr.data, 1, s->fr.datalen, s->f)) <= 0 ) { | ||||
| 		if (res) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user