Skip to content
Snippets Groups Projects
Commit 222ce2c0 authored by Philippe Gorley's avatar Philippe Gorley
Browse files

audiobuffer: use raii when dealing with AVFrame

Returns AudioFrame instead of raw AVFRame pointer when calling
AudioBuffer.toAVFrame, and take AudioFrame as parameter when appending
an AVFrame to an AudioBuffer.

No longer need to free AVFrame during encoding/conversions.

Change-Id: I28aa992a5483f84f6cb1a5157718c11c3a69518c
parent 34e72c5a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment