1
0
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:
Amir Gonnen 2022-08-29 15:09:44 +03:00 committed by GitHub
parent 3b7e13b7b3
commit ddcbb4335b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 .

View File

@ -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);