[mod_av] Remove unused buf variable in av_file_write

This commit is contained in:
Andrey Volk 2022-05-23 22:34:29 +03:00
parent c134b8b73b
commit 1f055250e1
1 changed files with 0 additions and 1 deletions

View File

@ -2037,7 +2037,6 @@ static switch_status_t av_file_write(switch_file_handle_t *handle, void *data, s
datalen = *len * 2 * handle->channels;
if (context->offset) {
char buf[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0};
switch_size_t samples = *len;
int fps = handle->samplerate / samples;
int lead_frames = (context->offset * fps) / 1000;