Add ffmpeg example (#61)

This commit is contained in:
Fangjun Kuang
2023-02-24 17:44:36 +08:00
committed by GitHub
parent c63c4c3389
commit ce4dd176e4
13 changed files with 632 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
// c-api-examples/decode-file-c-api.cc
// c-api-examples/decode-file-c-api.c
//
// Copyright (c) 2023 Xiaomi Corporation
// This file shows how to use sherpa-onnx C API
// to decode a file.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>