diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2019-06-20 20:48:30 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-20 20:48:30 -0700 |
commit | e4237f852da6f654acbb8a7aaa48d8ac67bbc18f (patch) | |
tree | b27f5fba4fc7b923a0e13352185f6a144c3df5f5 | |
parent | 0dce3a913732c3ab435f459c78b5aefd40a820f8 (diff) | |
parent | 7f5da9039c67779e0bbf9efd01f07149723d798f (diff) | |
download | libhevc-e4237f852da6f654acbb8a7aaa48d8ac67bbc18f.tar.gz |
decoder: Fix valid SPS check in parsing SEI am: 61646846b3
am: 7f5da9039c
Change-Id: I97a096fc8a7fba089711403d35f8bc90c99750c9
-rw-r--r-- | decoder/ihevcd_parse_headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ihevcd_parse_headers.c b/decoder/ihevcd_parse_headers.c index 73142f6..47edb1f 100644 --- a/decoder/ihevcd_parse_headers.c +++ b/decoder/ihevcd_parse_headers.c @@ -2668,7 +2668,7 @@ void ihevcd_parse_sei_payload(codec_t *ps_codec, break; } } - if(NULL == ps_sps) + if(!ps_sps->i1_sps_valid) { return; } |