summaryrefslogtreecommitdiff
path: root/libavcodec/h264_metadata_bsf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>2018-11-12 15:18:12 +0100
committerMark Thompson <sw@jkqxz.net>2018-11-13 21:03:00 +0000
commit959521b58de945ce8aacd4b0ba84958fc192a2c9 (patch)
treeada7832c826d07d9592da9b7f5715c39f6009847 /libavcodec/h264_metadata_bsf.c
parent13ee107afd3d5c3fb6888d754b715fef67fec543 (diff)
h264_levels, h264_metadata_bsf: Fix levels typo
profile_idc for level 1b should be 11, not 10. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/h264_metadata_bsf.c')
-rw-r--r--libavcodec/h264_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
index bf37528234..521bc36b7e 100644
--- a/libavcodec/h264_metadata_bsf.c
+++ b/libavcodec/h264_metadata_bsf.c
@@ -258,7 +258,7 @@ static int h264_metadata_update_sps(AVBSFContext *bsf,
if (sps->profile_idc == 66 ||
sps->profile_idc == 77 ||
sps->profile_idc == 88) {
- sps->level_idc = 10;
+ sps->level_idc = 11;
sps->constraint_set3_flag = 1;
} else {
sps->level_idc = 9;