mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/h264dec: cosmetics
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
314d10f7a6
commit
96cc392a17
|
@ -253,8 +253,7 @@ int ff_h264_slice_context_init(H264Context *h, H264SliceContext *sl)
|
||||||
|
|
||||||
if (sl != h->slice_ctx) {
|
if (sl != h->slice_ctx) {
|
||||||
memset(er, 0, sizeof(*er));
|
memset(er, 0, sizeof(*er));
|
||||||
} else
|
} else if (CONFIG_ERROR_RESILIENCE) {
|
||||||
if (CONFIG_ERROR_RESILIENCE) {
|
|
||||||
|
|
||||||
/* init ER */
|
/* init ER */
|
||||||
er->avctx = h->avctx;
|
er->avctx = h->avctx;
|
||||||
|
|
Loading…
Reference in New Issue