• Max Kellermann's avatar
    audio: replaced copyAudioFormat() with simple assignment · 7f1cccb3
    Max Kellermann authored
    The "!src" check in copyAudioFormat() used to hide bugs - one should
    never pass NULL to it.  There is one caller which might pass NULL, add
    a check in this caller.
    
    Instead of doing mempcy(), we can simply assign the structures, which
    looks more natural.
    7f1cccb3
output_init.c 3.11 KB