Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-05-07 04:57:43 +0300
committerJames Almer <jamrial@gmail.com>2017-05-07 04:57:43 +0300
commitfb0f29f9aaaf7f860b0d8100ea74734a2efbe2d8 (patch)
tree19bfd9122a12481f09875cdefea482f9d7fb682e /libavcodec/hevc_sei.c
parentc0b3781bf2fef529d64af0e36ea84c0a34522367 (diff)
avcodec/hevc_sei: actually propagate error codes
Diffstat (limited to 'libavcodec/hevc_sei.c')
-rw-r--r--libavcodec/hevc_sei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c
index c5054bfaab..b86f7e4d6f 100644
--- a/libavcodec/hevc_sei.c
+++ b/libavcodec/hevc_sei.c
@@ -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;
}