1
0
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:
James Almer 2017-05-06 22:57:43 -03:00
parent c0b3781bf2
commit fb0f29f9aa

View File

@ -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;
} }