diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-07-11 08:38:51 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-07-11 08:38:51 +0000 |
commit | 17e9d52c8c93f47721ff481b8867922f4b4bd663 (patch) | |
tree | 87c31b3cdfc0ac49cf66ebc077ba0dbe0f4624a6 | |
parent | 44386aaad870cbd80ae0d08247ebc663476446ff (diff) | |
download | ffmpeg-17e9d52c8c93f47721ff481b8867922f4b4bd663.tar.gz |
hevc_ps: remove a write-only variable
-rw-r--r-- | libavcodec/hevc_ps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 4d1d027d31..bc18990f1c 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -989,7 +989,7 @@ int ff_hevc_decode_nal_pps(HEVCContext *s) { GetBitContext *gb = &s->HEVClc.gb; HEVCSPS *sps = NULL; - int pic_area_in_ctbs, pic_area_in_min_cbs, pic_area_in_min_tbs; + int pic_area_in_ctbs, pic_area_in_min_tbs; int log2_diff_ctb_min_tb_size; int i, j, x, y, ctb_addr_rs, tile_id; int ret = 0; @@ -1228,7 +1228,6 @@ int ff_hevc_decode_nal_pps(HEVCContext *s) * 6.5 */ pic_area_in_ctbs = sps->ctb_width * sps->ctb_height; - pic_area_in_min_cbs = sps->min_cb_width * sps->min_cb_height; pic_area_in_min_tbs = sps->min_tb_width * sps->min_tb_height; pps->ctb_addr_rs_to_ts = av_malloc_array(pic_area_in_ctbs, sizeof(*pps->ctb_addr_rs_to_ts)); |