summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdec.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-04-02 15:41:10 -0300
committerJames Almer <jamrial@gmail.com>2017-04-09 14:09:05 -0300
commit4588063f3ecd9c97ebf61e7791be9978176cdb2b (patch)
tree60fa2cfa00e228fed174292e2dbc019ee9e2dcfa /libavcodec/hevcdec.h
parent498e9e8e2a67e022c189f44fa33350b4f4a7979b (diff)
avcodec/hevcdec: remove duplicate extradata parsing function
Use ff_hevc_decode_extradata() instead, which correctly only tries to decode parameter set NAL units and not any other NAL that may be present in extradata. Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevcdec.h')
-rw-r--r--libavcodec/hevcdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index e5879a5c2b..dfb12eff8b 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -564,7 +564,7 @@ typedef struct HEVCContext {
uint8_t is_md5;
uint8_t context_initialized;
- uint8_t is_nalff; ///< this flag is != 0 if bitstream is encapsulated
+ int is_nalff; ///< this flag is != 0 if bitstream is encapsulated
///< as a format defined in 14496-15
int apply_defdispwin;