[FFmpeg-cvslog] avutil/film_grain_params: remove unused variables
Leo Izen
git at videolan.org
Sun Mar 24 16:53:47 EET 2024
ffmpeg | branch: master | Leo Izen <leo.izen at gmail.com> | Sat Mar 23 20:10:13 2024 -0400| [438fcc3f6e0c425691643ca783613ef84e712bbc] | committer: Leo Izen
avutil/film_grain_params: remove unused variables
These variables are never read from, so they trigger -Wunused-variables
Signed-off-by: Leo Izen <leo.izen at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=438fcc3f6e0c425691643ca783613ef84e712bbc
---
libavutil/film_grain_params.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavutil/film_grain_params.c b/libavutil/film_grain_params.c
index fff7252f2f..b3fa37f527 100644
--- a/libavutil/film_grain_params.c
+++ b/libavutil/film_grain_params.c
@@ -53,8 +53,6 @@ const AVFilmGrainParams *av_film_grain_params_select(const AVFrame *frame)
{
const AVFilmGrainParams *fgp, *best = NULL;
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
- const AVFilmGrainAOMParams *aom;
- const AVFilmGrainH274Params *h274;
int bit_depth_luma, bit_depth_chroma;
if (!desc)
return NULL;
@@ -88,7 +86,6 @@ const AVFilmGrainParams *av_film_grain_params_select(const AVFrame *frame)
case AV_FILM_GRAIN_PARAMS_NONE:
continue;
case AV_FILM_GRAIN_PARAMS_AV1:
- aom = &fgp->codec.aom;
/* AOM FGS needs an exact match for the chroma resolution */
if (fgp->subsampling_x != desc->log2_chroma_w ||
fgp->subsampling_y != desc->log2_chroma_h)
More information about the ffmpeg-cvslog
mailing list