#pragma once

#include <string>

/**
 * Moves the moov atom from the end of an MP4 file to the beginning,
 * enabling instant playback in web browsers without buffering.
 *
 * inputPath and outputPath may be different files.
 * Returns true if moov was successfully relocated (or was already at front).
 */
bool MoovFastStart(const std::string& inputPath, const std::string& outputPath);
