mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(ffmpeg): install ffmpeg on CI workflow (#3635)
This commit is contained in:
parent
3b7e13b7b3
commit
ddcbb4335b
2
.github/workflows/build_micropython.yml
vendored
2
.github/workflows/build_micropython.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
run: |
|
||||
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
|
||||
sudo apt-get update -y -qq
|
||||
sudo apt-get install libsdl2-dev parallel libfreetype-dev librlottie-dev
|
||||
sudo apt-get install libsdl2-dev parallel libfreetype-dev librlottie-dev libavformat-dev libavcodec-dev libswscale-dev libavutil-dev
|
||||
- name: Clone lv_micropython
|
||||
run: |
|
||||
git clone https://github.com/lvgl/lv_micropython.git .
|
||||
|
@ -520,7 +520,7 @@ static int ffmpeg_open_codec_context(int * stream_idx,
|
||||
int ret;
|
||||
int stream_index;
|
||||
AVStream * st;
|
||||
AVCodec * dec = NULL;
|
||||
const AVCodec * dec = NULL;
|
||||
AVDictionary * opts = NULL;
|
||||
|
||||
ret = av_find_best_stream(fmt_ctx, type, -1, -1, NULL, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user