summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_parser.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-25 14:40:33 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-25 14:40:33 +0100
commit4791a910c0dc3dd5861d38202457c9fb9bf1154c (patch)
tree0f73ac0086bf57db5e3ea48e2457a4a533d96017 /libavcodec/hevc_parser.c
parent9ac154d1facd4756db6918f866dccf3e3ffb698c (diff)
downloadffmpeg-4791a910c0dc3dd5861d38202457c9fb9bf1154c.tar.gz
lavc/hevc_parse: Don't take a HEVCContext
It's not even used anymore, and the checks are no longer functionally important. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/hevc_parser.c')
-rw-r--r--libavcodec/hevc_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c
index 4625e6149a..59893bb3e1 100644
--- a/libavcodec/hevc_parser.c
+++ b/libavcodec/hevc_parser.c
@@ -239,7 +239,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf,
src_length = 20;
}
- consumed = ff_hevc_extract_rbsp(NULL, buf, src_length, nal);
+ consumed = ff_hevc_extract_rbsp(buf, src_length, nal);
if (consumed < 0)
return consumed;