avcodec/cbs_h264: silence errors about end_of_seq nalus
authorAman Gupta <aman@tmm1.net>
Mon, 8 Oct 2018 20:05:05 +0000 (13:05 -0700)
committerAman Gupta <aman@tmm1.net>
Mon, 15 Oct 2018 18:52:49 +0000 (11:52 -0700)
[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10).

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/cbs_h2645.c

index ab33cdb..4b31601 100644 (file)
@@ -871,6 +871,9 @@ static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
         }
         break;
 
+    case H264_NAL_END_SEQUENCE:
+        return 0;
+
     default:
         return AVERROR(ENOSYS);
     }