[FFmpeg-devel,v4,23/38] cbs_h264: Fix profile typo

Submitted by Mark Thompson on Sept. 18, 2018, 10:31 p.m.

Details

Message ID 20180918223116.14322-24-sw@jkqxz.net
State New
Headers show

Commit Message

Mark Thompson Sept. 18, 2018, 10:31 p.m.
---
 libavcodec/cbs_h264_syntax_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/cbs_h264_syntax_template.c b/libavcodec/cbs_h264_syntax_template.c
index 1efa97dccb..7befde4b68 100644
--- a/libavcodec/cbs_h264_syntax_template.c
+++ b/libavcodec/cbs_h264_syntax_template.c
@@ -199,7 +199,7 @@  static int FUNC(vui_parameters)(CodedBitstreamContext *ctx, RWContext *rw,
         infer(log2_max_mv_length_vertical,   15);
 
         if ((sps->profile_idc ==  44 || sps->profile_idc ==  86 ||
-             sps->profile_idc == 110 || sps->profile_idc == 110 ||
+             sps->profile_idc == 100 || sps->profile_idc == 110 ||
              sps->profile_idc == 122 || sps->profile_idc == 244) &&
             sps->constraint_set3_flag) {
             infer(max_num_reorder_frames,  0);