examples/decode_audio: allocate the packet dynamically