Skip to content

Commit

Permalink
Merge branch 'hzeller:master' into feature-remap-mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ledvinap committed May 4, 2023
2 parents e48cf18 + 6e53ad1 commit 6c8f7c8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,5 @@
*.a
*~
*.so
.envrc
.direnv
15 changes: 15 additions & 0 deletions shell.nix
@@ -0,0 +1,15 @@
# This is a nix-shell for use with the nix package manager.
# If you have nix installed, you may simply run `nix-shell`
# in this repo, and have all dependencies ready in the new shell.

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs;
[
graphicsmagick
libwebp
ffmpeg
pkg-config
python3
];
}
1 change: 1 addition & 0 deletions utils/.gitignore
@@ -1,2 +1,3 @@
led-image-viewer
video-viewer
text-scroller
2 changes: 1 addition & 1 deletion utils/video-viewer.cc
Expand Up @@ -292,7 +292,7 @@ int main(int argc, char *argv[]) {
// Find the first video stream
int videoStream = -1;
AVCodecParameters *codec_parameters = NULL;
AVCodec *av_codec = NULL;
const AVCodec *av_codec = NULL;
for (int i = 0; i < (int)format_context->nb_streams; ++i) {
codec_parameters = format_context->streams[i]->codecpar;
av_codec = avcodec_find_decoder(codec_parameters->codec_id);
Expand Down

0 comments on commit 6c8f7c8

Please sign in to comment.