]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_haas.c
lavd/vfwcap: Pass pointers to int instead of long to av_parse_video_size().
[ffmpeg] / libavfilter / af_haas.c
index 691c251f54e08a3d76d5b07f082b2463bff39bf8..0cfc93a7d1f24e02710e23347a0d82d6cf8176bc 100644 (file)
@@ -144,7 +144,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     if (av_frame_is_writable(in)) {
         out = in;
     } else {
-        out = ff_get_audio_buffer(inlink, in->nb_samples);
+        out = ff_get_audio_buffer(outlink, in->nb_samples);
         if (!out) {
             av_frame_free(&in);
             return AVERROR(ENOMEM);