]> git.sesse.net Git - ffmpeg/blobdiff - libswresample/soxr_resample.c
Merge commit '2dc265619a2fc9c6f9aff7ac2bcdbcb90e9610cb'
[ffmpeg] / libswresample / soxr_resample.c
index 4c000db0ca777c7ab5ad6fa19b2df9dc90073d35..064451df452ef3dcde38eb97e44db3f931dc5b93 100644 (file)
@@ -87,7 +87,14 @@ static int64_t get_delay(struct SwrContext *s, int64_t base){
     return (int64_t)(delay_s * base + .5);
 }
 
+static int invert_initial_buffer(struct ResampleContext *c, AudioData *dst, const AudioData *src,
+                                 int in_count, int *out_idx, int *out_sz)
+{
+    return 0;
+}
+
 struct Resampler const soxr_resampler={
     create, destroy, process, flush, NULL /* set_compensation */, get_delay,
+    invert_initial_buffer,
 };