mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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 {
|
do {
|
||||||
ret = decode_nal_sei_message(gb, s, ps, type, logctx);
|
ret = decode_nal_sei_message(gb, s, ps, type, logctx);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return(AVERROR(ENOMEM));
|
return ret;
|
||||||
} while (more_rbsp_data(gb));
|
} while (more_rbsp_data(gb));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user