[FFmpeg-devel] [PATCH 3/5] avcodec/cbs_h264: silence errors about end_of_seq nalus

Aman Gupta ffmpeg at tmm1.net
Fri Oct 12 07:02:02 EEST 2018


From: Aman Gupta <aman at tmm1.net>

[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10).

Signed-off-by: Aman Gupta <aman at tmm1.net>
---
 libavcodec/cbs_h2645.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 13e4c1561c..2c7faf36e7 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -872,6 +872,9 @@ static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
         }
         break;
 
+    case H264_NAL_END_SEQUENCE:
+        return 0;
+
     default:
         return AVERROR(ENOSYS);
     }
-- 
2.15.2 (Apple Git-101.1)



More information about the ffmpeg-devel mailing list