mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/hevc_sei: actually propagate error codes
This commit is contained in:
parent
c0b3781bf2
commit
fb0f29f9aa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue