blob: 4ad4a1675a42dcd81ed30ebeefafe877982ee34e [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "garnet/bin/mediaplayer/ffmpeg/ffmpeg_init.h"
extern "C" {
#include "libavformat/avformat.h"
}
namespace media_player {
void InitFfmpeg() {
static bool initialized = []() {
av_register_all();
return true;
}();
(void)initialized;
}
} // namespace media_player