1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

hevc: calculate the dbf strength in hls_pcm_sample() only if dbf is enabled

This commit is contained in:
Anton Khirnov 2014-07-27 17:01:53 +00:00
parent d35b94fbab
commit 4d1ff2a489

View File

@ -1448,9 +1448,11 @@ static int hls_pcm_sample(HEVCContext *s, int x0, int y0, int log2_cb_size)
const uint8_t *pcm = skip_bytes(&lc->cc, (length + 7) >> 3);
int ret;
ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size,
lc->slice_or_tiles_up_boundary,
lc->slice_or_tiles_left_boundary);
if (!s->sh.disable_deblocking_filter_flag) {
ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size,
lc->slice_or_tiles_up_boundary,
lc->slice_or_tiles_left_boundary);
}
ret = init_get_bits(&gb, pcm, length);
if (ret < 0)