diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-01-03 20:46:51 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-27 12:21:46 +0200 |
commit | 0574780d7a196f87ddd89d6362f4c47f3532b4c4 (patch) | |
tree | 87f1c9c7f7f4f1e2633576887c8b2f4bbb0154c1 /libavcodec | |
parent | 255526998501f0040ae43fe4848c817a97fc578a (diff) | |
download | ffmpeg-0574780d7a196f87ddd89d6362f4c47f3532b4c4.tar.gz |
h264_loopfilter: Do not print value of uninitialized variable
libavcodec/h264_loopfilter.c:531:111: warning: variable 'edge' is uninitialized when used here [-Wuninitialized]
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264_loopfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c index 5004074f0a..f39b9517ff 100644 --- a/libavcodec/h264_loopfilter.c +++ b/libavcodec/h264_loopfilter.c @@ -529,7 +529,7 @@ static av_always_inline void filter_mb_dir(const H264Context *h, H264SliceContex // Do not use s->qscale as luma quantizer because it has not the same // value in IPCM macroblocks. qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbn_xy] + 1) >> 1; - ff_tlog(h->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d ls:%d uvls:%d", mb_x, mb_y, dir, edge, qp, tmp_linesize, tmp_uvlinesize); + ff_tlog(h->avctx, "filter mb:%d/%d dir:%d, QPy:%d ls:%d uvls:%d", mb_x, mb_y, dir, qp, tmp_linesize, tmp_uvlinesize); { int i; for (i = 0; i < 4; i++) ff_tlog(h->avctx, " bS[%d]:%d", i, bS[i]); ff_tlog(h->avctx, "\n"); } filter_mb_edgeh( &img_y[j*linesize], tmp_linesize, bS, qp, a, b, h, 0 ); chroma_qp_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbn_xy]) + 1) >> 1; |