Commit fb0f29f9 authored by James Almer's avatar James Almer

avcodec/hevc_sei: actually propagate error codes

parent c0b3781b
...@@ -346,7 +346,7 @@ int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEIContext *s, ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment