Download cmake/checks/ffmpeg_test.cpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 577 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/cmake/checks/ffmpeg_test.cpp
- Command line
-
hf download hf://tgollogly/test/cmake/checks/ffmpeg_test.cpp
-
curl -L -o ffmpeg_test.cpp https://huggingface.co/tgollogly/test/resolve/main/cmake/checks/ffmpeg_test.cpp
577 Bytes
| extern "C" { | |
| } | |
| static void test() | |
| { | |
| AVFormatContext* c = 0; | |
| AVCodec* avcodec = 0; | |
| AVFrame* frame = 0; | |
| (void)avcodec; | |
| (void)frame; | |
| int err = avformat_open_input(&c, "", NULL, NULL); | |
| int err = av_open_input_file(&c, "", NULL, 0, NULL); | |
| (void)err; | |
| } | |
| int main() { test(); return 0; } | |