aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-10-08 13:05:05 -0700
committerAman Gupta <aman@tmm1.net>2018-10-16 11:54:39 -0700
commitaec3daa8b4b31235b61922642df06f0f26fef082 (patch)
tree41cce28ed64bc8b8d5b27ed9bddb5b71ec16e82f
parent7b23dd0f41bcfba216eb0d3827c9376fd4a6af10 (diff)
downloadffmpeg-aec3daa8b4b31235b61922642df06f0f26fef082.tar.gz
avcodec/cbs_h264: silence errors about end_of_seq nalus
[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10). Signed-off-by: Aman Gupta <aman@tmm1.net> (cherry picked from commit 64c50c0e978cd556dc2da238dfe0bb367e7c1ab9)
-rw-r--r--libavcodec/cbs_h2645.c3
1 files changed, 3 insertions, 0 deletions
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);
}