diff options
author | Zhong Li <zhong.li@intel.com> | 2018-05-24 16:34:32 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2018-11-06 17:42:31 +0800 |
commit | d96ae9d5ea1f47a437fc0663b0cc26ff5d4d5d31 (patch) | |
tree | 6b09e044181a6dbeae6f31dc3871550b98172cf6 | |
parent | 87368884a52b09eef96190ff1654d56591ec7038 (diff) | |
download | ffmpeg-streaming-d96ae9d5ea1f47a437fc0663b0cc26ff5d4d5d31.zip ffmpeg-streaming-d96ae9d5ea1f47a437fc0663b0cc26ff5d4d5d31.tar.gz |
lavc/qsv_overlay: suppress code scan complain
Suppress the complain "variables 'pix_fmt' is used but maybe
uninitialized".
Signed-off-by: Zhong Li <zhong.li@intel.com>
-rw-r--r-- | libavfilter/vf_overlay_qsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c index 2087178..9aabb59 100644 --- a/libavfilter/vf_overlay_qsv.c +++ b/libavfilter/vf_overlay_qsv.c @@ -160,7 +160,7 @@ release: static int have_alpha_planar(AVFilterLink *link) { - enum AVPixelFormat pix_fmt; + enum AVPixelFormat pix_fmt = link->format; const AVPixFmtDescriptor *desc; AVHWFramesContext *fctx; |