diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-18 10:36:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 11:17:28 +0200 |
commit | 5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c (patch) | |
tree | 15872b880e486a2e536a25c450799b1b1624ea32 /libavcodec/h264_refs.c | |
parent | 1cf2f3d334f52849aae2be868bad1e5fa5f59aa0 (diff) |
h264: add H264_ prefix to the NAL unit types
This will prevent conflicts e.g. in code that deals with both h264 and
hevc.
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 4172fbdaa3..2077847c19 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -735,7 +735,7 @@ int ff_h264_decode_ref_pic_marking(const H264Context *h, H264SliceContext *sl, MMCO *mmco = sl->mmco; int nb_mmco = 0; - if (h->nal_unit_type == NAL_IDR_SLICE) { // FIXME fields + if (h->nal_unit_type == H264_NAL_IDR_SLICE) { // FIXME fields skip_bits1(gb); // broken_link if (get_bits1(gb)) { mmco[0].opcode = MMCO_LONG; |