[SCM] libav/experimental: hevc: Replace nal type chek with equivalent IS_IRAP macro
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:50 UTC 2014
The following commit has been merged in the experimental branch:
commit 1493b237bd3f9707319ac58d315ce45312900c10
Author: Mickaël Raulet <mraulet at insa-rennes.fr>
Date: Fri Jul 4 11:21:54 2014 -0400
hevc: Replace nal type chek with equivalent IS_IRAP macro
Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 13f989b..9d7a53a 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -470,7 +470,7 @@ static int hls_slice_header(HEVCContext *s)
if (IS_IDR(s))
ff_hevc_clear_refs(s);
}
- if (s->nal_unit_type >= 16 && s->nal_unit_type <= 23)
+ if (IS_IRAP(s))
sh->no_output_of_prior_pics_flag = get_bits1(gb);
sh->pps_id = get_ue_golomb_long(gb);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list