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)
This commit is contained in:
Aman Gupta 2018-10-08 13:05:05 -07:00
parent 7b23dd0f41
commit aec3daa8b4

View File

@ -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);
}