avcodec/h264dec: cosmetics

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2020-05-27 23:04:29 +08:00
parent 314d10f7a6
commit 96cc392a17
1 changed files with 1 additions and 2 deletions

View File

@ -253,8 +253,7 @@ int ff_h264_slice_context_init(H264Context *h, H264SliceContext *sl)
if (sl != h->slice_ctx) {
memset(er, 0, sizeof(*er));
} else
if (CONFIG_ERROR_RESILIENCE) {
} else if (CONFIG_ERROR_RESILIENCE) {
/* init ER */
er->avctx = h->avctx;