mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge commit 'c7247eb7fe'
* commit 'c7247eb7fe':
lavr: Remove unreachable code
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
c2972a2800
1 changed files with 1 additions and 4 deletions
|
|
@ -235,7 +235,6 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta,
|
|||
{
|
||||
ResampleContext *c;
|
||||
AudioData *fifo_buf = NULL;
|
||||
int ret = 0;
|
||||
|
||||
if (compensation_distance < 0)
|
||||
return AVERROR(EINVAL);
|
||||
|
|
@ -254,10 +253,8 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta,
|
|||
} else {
|
||||
c->dst_incr = c->ideal_dst_incr;
|
||||
}
|
||||
return 0;
|
||||
|
||||
ff_audio_data_free(&fifo_buf);
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int resample(ResampleContext *c, void *dst, const void *src,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue