Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Jun 18, 2024
1 parent d056bf9 commit 6f1fb3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/membrane_vpx_plugin/vpx_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ UNIFEX_TERM decode_frame(UnifexEnv *env, UnifexPayload *frame, State *state) {
vpx_codec_iter_t iter = NULL;
vpx_image_t *img = NULL;
unsigned int frames_cnt = 0, max_frames = 2;
PixelFormat pixel_format;
PixelFormat pixel_format = PIXEL_FORMAT_I420;
UnifexPayload **output_frames =
unifex_alloc(max_frames * sizeof(*output_frames));

Expand Down
3 changes: 3 additions & 0 deletions lib/membrane_vpx/decoder/vpx_decoder.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
defmodule Membrane.VPx.Decoder do
@moduledoc """
Common behaviors for VP8 and VP9 Decoders
"""
alias Membrane.{Buffer, VP8, VP9}
alias Membrane.Element.CallbackContext
alias Membrane.VPx.Decoder.Native
Expand Down

0 comments on commit 6f1fb3e

Please sign in to comment.