Skip to content

Commit

Permalink
Eliminate useless 'const' (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jul 13, 2021
1 parent 2d60bb1 commit 70aedd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFmpegUtilities.h
Expand Up @@ -134,7 +134,7 @@ inline static const std::string av_make_error_string(int errnum)
#endif

// Does ffmpeg pixel format contain an alpha channel?
inline static const bool ffmpeg_has_alpha(PixelFormat pix_fmt) {
inline static bool ffmpeg_has_alpha(PixelFormat pix_fmt) {
const AVPixFmtDescriptor *fmt_desc = av_pix_fmt_desc_get(pix_fmt);
return bool(fmt_desc->flags & AV_PIX_FMT_FLAG_ALPHA);
}
Expand Down

0 comments on commit 70aedd3

Please sign in to comment.