• Philippe Gorley's avatar
    audiobuffer: use raii when dealing with AVFrame · 222ce2c0
    Philippe Gorley authored
    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
    222ce2c0
audiofile.cpp 3.53 KB