Skip to content

Commit

Permalink
fixed some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Oct 10, 2023
1 parent fd1d808 commit 4377bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/video_decompress/libavcodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ static int hwacc_cuda_init(struct AVCodecContext *s, struct hw_accel_state *stat
}
#endif

#ifdef HWACC_COMMON_IMPL
static void
check_pixfmt_hw_eligibility(enum AVPixelFormat sw_pix_fmt)
{
Expand All @@ -576,6 +577,7 @@ check_pixfmt_hw_eligibility(enum AVPixelFormat sw_pix_fmt)
fmt_name);
}
}
#endif

static enum AVPixelFormat get_format_callback(struct AVCodecContext *s, const enum AVPixelFormat *fmt)
{
Expand Down
2 changes: 1 addition & 1 deletion src/video_rxtx/ultragrid_rtp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ultragrid_rtp_video_rxtx : public rtp_video_rxtx {
public:
ultragrid_rtp_video_rxtx(std::map<std::string, param_u> const &);
virtual ~ultragrid_rtp_video_rxtx();
virtual void join();
void join() override;
uint32_t get_ssrc();

// transcoder functions
Expand Down

0 comments on commit 4377bd0

Please sign in to comment.