avcodec/hevc_sei: actually propagate error codes

This commit is contained in:
James Almer 2017-05-06 22:57:43 -03:00
parent c0b3781bf2
commit fb0f29f9aa
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEIContext *s,
do {
ret = decode_nal_sei_message(gb, s, ps, type, logctx);
if (ret < 0)
return(AVERROR(ENOMEM));
return ret;
} while (more_rbsp_data(gb));
return 1;
}