Bug-Id: CID 1323180
Vittorio Giovara authored on 2015/09/11 00:05:55... | ... |
@@ -235,7 +235,6 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta, |
235 | 235 |
{ |
236 | 236 |
ResampleContext *c; |
237 | 237 |
AudioData *fifo_buf = NULL; |
238 |
- int ret = 0; |
|
239 | 238 |
|
240 | 239 |
if (compensation_distance < 0) |
241 | 240 |
return AVERROR(EINVAL); |
... | ... |
@@ -254,10 +253,8 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta, |
254 | 254 |
} else { |
255 | 255 |
c->dst_incr = c->ideal_dst_incr; |
256 | 256 |
} |
257 |
- return 0; |
|
258 | 257 |
|
259 |
- ff_audio_data_free(&fifo_buf); |
|
260 |
- return ret; |
|
258 |
+ return 0; |
|
261 | 259 |
} |
262 | 260 |
|
263 | 261 |
static int resample(ResampleContext *c, void *dst, const void *src, |