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>
This commit is contained in:
Aman Gupta 2018-10-08 13:05:05 -07:00
parent e1e6a31216
commit 64c50c0e97
1 changed files with 3 additions and 0 deletions

View File

@ -871,6 +871,9 @@ static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
} }
break; break;
case H264_NAL_END_SEQUENCE:
return 0;
default: default:
return AVERROR(ENOSYS); return AVERROR(ENOSYS);
} }