X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhevcdec.h;h=b45969b7e233727f6d8207bbf8bdf5697736bd70;hb=34a0a9746b2f441db7c45983838a88aa87a33834;hp=b311edc8aeef358aa96a34a9accaf466504200a9;hpb=bbe95ebdadff24127a7c1c9ccf1e7b71aac96cf8;p=ffmpeg diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index b311edc8aee..b45969b7e23 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -430,6 +430,7 @@ typedef struct HEVCContext { int max_ra; int bs_width; int bs_height; + int overlap; int is_decoded; int no_rasl_output_flag; @@ -544,7 +545,7 @@ int ff_hevc_res_scale_sign_flag(HEVCContext *s, int idx); /** * Get the number of candidate references for the current frame. */ -int ff_hevc_frame_nb_refs(HEVCContext *s); +int ff_hevc_frame_nb_refs(const HEVCContext *s); int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc); @@ -559,8 +560,6 @@ static av_always_inline int ff_hevc_nal_is_nonref(enum HEVCNALUnitType type) case HEVC_NAL_VCL_N10: case HEVC_NAL_VCL_N12: case HEVC_NAL_VCL_N14: - case HEVC_NAL_BLA_N_LP: - case HEVC_NAL_IDR_N_LP: return 1; break; default: break;