mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avcodec/hevc_sei: actually propagate error codes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user