[FFmpeg-devel] [PATCH v1 2/3] avcodec/hevcdec: remove unneeded code

Steven Liu lq at chinaffmpeg.org
Thu Oct 10 10:29:50 EEST 2019


Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 libavcodec/hevcdec.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index b45969b7e2..89e0809850 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -561,7 +561,6 @@ static av_always_inline int ff_hevc_nal_is_nonref(enum HEVCNALUnitType type)
     case HEVC_NAL_VCL_N12:
     case HEVC_NAL_VCL_N14:
         return 1;
-        break;
     default: break;
     }
     return 0;
-- 
2.15.1





More information about the ffmpeg-devel mailing list