mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
avcodec/hevcdec: Replace number with enum
Keep same style with IS_IDR()/IS_BLA(). Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
parent
f7abe92bd7
commit
c38370dc5d
@ -75,7 +75,7 @@
|
||||
#define IS_IDR(s) ((s)->nal_unit_type == HEVC_NAL_IDR_W_RADL || (s)->nal_unit_type == HEVC_NAL_IDR_N_LP)
|
||||
#define IS_BLA(s) ((s)->nal_unit_type == HEVC_NAL_BLA_W_RADL || (s)->nal_unit_type == HEVC_NAL_BLA_W_LP || \
|
||||
(s)->nal_unit_type == HEVC_NAL_BLA_N_LP)
|
||||
#define IS_IRAP(s) ((s)->nal_unit_type >= 16 && (s)->nal_unit_type <= 23)
|
||||
#define IS_IRAP(s) ((s)->nal_unit_type >= HEVC_NAL_BLA_W_LP && (s)->nal_unit_type <= HEVC_NAL_RSV_IRAP_VCL23)
|
||||
|
||||
enum RPSType {
|
||||
ST_CURR_BEF = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user