On Tue, Jun 02, 2020 at 11:16:29PM +0800, lance.lmw...@gmail.com wrote:
> From: Limin Wang <lance.lmw...@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmw...@gmail.com>
> ---
>  libavcodec/h264dec.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
> index 6270ea8..4d8c0b1 100644
> --- a/libavcodec/h264dec.c
> +++ b/libavcodec/h264dec.c
> @@ -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;
> -- 
> 1.8.3.1
> 

Sorry, git send-email the wrong directory, please ignore v3, will resend as v4.

-- 
Thanks,
Limin Wang
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to