From aec3daa8b4b31235b61922642df06f0f26fef082 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 8 Oct 2018 13:05:05 -0700 Subject: [PATCH] avcodec/cbs_h264: silence errors about end_of_seq nalus [ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10). Signed-off-by: Aman Gupta (cherry picked from commit 64c50c0e978cd556dc2da238dfe0bb367e7c1ab9) --- libavcodec/cbs_h2645.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index 5585831cf6..d3ae8bacf8 100644 --- a/libavcodec/cbs_h2645.c +++ b/libavcodec/cbs_h2645.c @@ -828,6 +828,9 @@ static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx, } break; + case H264_NAL_END_SEQUENCE: + return 0; + default: return AVERROR(ENOSYS); }