aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-10-27 22:39:47 +0100
committerMark Thompson <sw@jkqxz.net>2018-10-31 21:38:33 +0000
commit2dee0679e9a88e1fea51ebd3dcd2bbbf6e1777d6 (patch)
tree3b0b80ac1d2875976193ff0baebdd02aebf40dd5
parent30fcc10937966cd24b253d4b8267c455f2212b8a (diff)
downloadffmpeg-2dee0679e9a88e1fea51ebd3dcd2bbbf6e1777d6.tar.gz
cbs_h265: Add PTL parsing for Main 10 Still Picture profile
This was added in the 2018 version of the standard.
-rw-r--r--libavcodec/cbs_h265_syntax_template.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/cbs_h265_syntax_template.c b/libavcodec/cbs_h265_syntax_template.c
index d4e4f7b1c2..e43f3caf99 100644
--- a/libavcodec/cbs_h265_syntax_template.c
+++ b/libavcodec/cbs_h265_syntax_template.c
@@ -130,6 +130,11 @@ static int FUNC(profile_tier_level)(CodedBitstreamContext *ctx, RWContext *rw,
fixed(24, general_reserved_zero_34bits, 0);
fixed(10, general_reserved_zero_34bits, 0);
}
+ } else if (profile_compatible(2)) {
+ fixed(7, general_reserved_zero_7bits, 0);
+ flag(general_one_picture_only_constraint_flag);
+ fixed(24, general_reserved_zero_35bits, 0);
+ fixed(11, general_reserved_zero_35bits, 0);
} else {
fixed(24, general_reserved_zero_43bits, 0);
fixed(19, general_reserved_zero_43bits, 0);