Commit 43b1fd5b authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc: drop redundant ifs()

Found-by: 's avatarClément Bœsch <u@pkh.me>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0c494114
......@@ -335,9 +335,7 @@ static int set_sps(HEVCContext *s, const HEVCSPS *sps)
ff_videodsp_init (&s->vdsp, sps->bit_depth);
for (i = 0; i < 3; i++) {
if (s->sao_pixel_buffer_h[i])
av_freep(&s->sao_pixel_buffer_h[i]);
if (s->sao_pixel_buffer_v[i])
av_freep(&s->sao_pixel_buffer_v[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment