|
|
|
@@ -253,7 +253,7 @@ static int decode_unregistered_user_data(H264Context *h, int size) |
|
|
|
|
|
|
|
static int decode_recovery_point(H264Context *h) |
|
|
|
{ |
|
|
|
h->sei_recovery_frame_cnt = get_ue_golomb(&h->gb); |
|
|
|
h->sei_recovery_frame_cnt = get_ue_golomb_long(&h->gb); |
|
|
|
|
|
|
|
/* 1b exact_match_flag, |
|
|
|
* 1b broken_link_flag, |
|
|
|
@@ -306,7 +306,7 @@ static int decode_buffering_period(H264Context *h) |
|
|
|
|
|
|
|
static int decode_frame_packing_arrangement(H264Context *h) |
|
|
|
{ |
|
|
|
h->sei_fpa.frame_packing_arrangement_id = get_ue_golomb(&h->gb); |
|
|
|
h->sei_fpa.frame_packing_arrangement_id = get_ue_golomb_long(&h->gb); |
|
|
|
h->sei_fpa.frame_packing_arrangement_cancel_flag = get_bits1(&h->gb); |
|
|
|
h->sei_frame_packing_present = !h->sei_fpa.frame_packing_arrangement_cancel_flag; |
|
|
|
|
|
|
|
@@ -326,7 +326,7 @@ static int decode_frame_packing_arrangement(H264Context *h) |
|
|
|
if (!h->quincunx_subsampling && h->frame_packing_arrangement_type != 5) |
|
|
|
skip_bits(&h->gb, 16); // frame[01]_grid_position_[xy] |
|
|
|
skip_bits(&h->gb, 8); // frame_packing_arrangement_reserved_byte |
|
|
|
h->sei_fpa.frame_packing_arrangement_repetition_period = get_ue_golomb(&h->gb) /* frame_packing_arrangement_repetition_period */; |
|
|
|
h->sei_fpa.frame_packing_arrangement_repetition_period = get_ue_golomb_long(&h->gb); |
|
|
|
} |
|
|
|
skip_bits1(&h->gb); // frame_packing_arrangement_extension_flag |
|
|
|
|
|
|
|
@@ -351,8 +351,8 @@ static int decode_display_orientation(H264Context *h) |
|
|
|
h->sei_vflip = get_bits1(&h->gb); // ver_flip |
|
|
|
|
|
|
|
h->sei_anticlockwise_rotation = get_bits(&h->gb, 16); |
|
|
|
get_ue_golomb(&h->gb); // display_orientation_repetition_period |
|
|
|
skip_bits1(&h->gb); // display_orientation_extension_flag |
|
|
|
get_ue_golomb_long(&h->gb); // display_orientation_repetition_period |
|
|
|
skip_bits1(&h->gb); // display_orientation_extension_flag |
|
|
|
} |
|
|
|
|
|
|
|
return 0; |
|
|
|
|