[FFmpeg-cvslog] avcodec/h264dec: cosmetics

Limin Wang git at videolan.org
Sat Jun 13 02:04:13 EEST 2020


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Wed May 27 23:04:29 2020 +0800| [96cc392a175d82c7457ae82db0bf2d6101fd20e7] | committer: Limin Wang

avcodec/h264dec: cosmetics

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96cc392a175d82c7457ae82db0bf2d6101fd20e7
---

 libavcodec/h264dec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 6270ea80df..4d8c0b12fb 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;



More information about the ffmpeg-cvslog mailing list