Missing av_frame_unref().
authorCarl Hetherington <cth@carlh.net>
Tue, 14 Jan 2025 21:00:40 +0000 (22:00 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 14 Jan 2025 21:00:40 +0000 (22:00 +0100)
Without this the _in_frame is never reset to good starting values
after being used.

src/lib/audio_filter_graph.cc

index 55a26cdb2eac930bb3f3646ed4a204bcb5cd1ae2..4e8b7cbfe0cf2c51f2f8bedb1585d6a03b0e1a08 100644 (file)
@@ -168,4 +168,6 @@ AudioFilterGraph::process (shared_ptr<AudioBuffers> buffers)
 
                av_frame_unref (_frame);
        }
+
+       av_frame_unref(_in_frame);
 }