mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13: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: |
|
run: |
|
||||||
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
|
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 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
|
- name: Clone lv_micropython
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/lvgl/lv_micropython.git .
|
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 ret;
|
||||||
int stream_index;
|
int stream_index;
|
||||||
AVStream * st;
|
AVStream * st;
|
||||||
AVCodec * dec = NULL;
|
const AVCodec * dec = NULL;
|
||||||
AVDictionary * opts = NULL;
|
AVDictionary * opts = NULL;
|
||||||
|
|
||||||
ret = av_find_best_stream(fmt_ctx, type, -1, -1, NULL, 0);
|
ret = av_find_best_stream(fmt_ctx, type, -1, -1, NULL, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user