diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-02 03:31:49 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-02 03:44:54 +0400 |
commit | f578e5d9376a20243f4286776f79a1e1c33b12cd (patch) | |
tree | 64e66bed1735b7264a017a91d3946dd25441d9b5 /libavcodec/hevc_sei.c | |
parent | 38612379bffe371d2e21b876b80c335bb468c2fa (diff) |
avcodec/hevc: Adjust white-spaces to reduce difference to 064698d381e1e7790f21b0199a8930ea04e2e942
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_sei.c')
-rw-r--r-- | libavcodec/hevc_sei.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index 5c404a3cdc..24f27c88b5 100644 --- a/libavcodec/hevc_sei.c +++ b/libavcodec/hevc_sei.c @@ -25,7 +25,8 @@ #include "hevc.h" #include "golomb.h" -static void decode_nal_sei_decoded_picture_hash(HEVCContext *s, int payload_size) +static void decode_nal_sei_decoded_picture_hash(HEVCContext *s, + int payload_size) { int cIdx, i; uint8_t hash_type; @@ -34,17 +35,16 @@ static void decode_nal_sei_decoded_picture_hash(HEVCContext *s, int payload_size GetBitContext *gb = &s->HEVClc->gb; hash_type = get_bits(gb, 8); - - for( cIdx = 0; cIdx < 3/*((s->sps->chroma_format_idc == 0) ? 1 : 3)*/; cIdx++ ) { - if ( hash_type == 0 ) { + for (cIdx = 0; cIdx < 3/*((s->sps->chroma_format_idc == 0) ? 1 : 3)*/; cIdx++) { + if (hash_type == 0) { s->is_md5 = 1; - for( i = 0; i < 16; i++) { + for (i = 0; i < 16; i++) { s->md5[cIdx][i] = get_bits(gb, 8); - } - } else if( hash_type == 1 ) { + } + } else if( hash_type == 1) { // picture_crc = get_bits(gb, 16); skip_bits(gb, 16); - } else if( hash_type == 2 ) { + } else if (hash_type == 2) { // picture_checksum = get_bits(gb, 32); skip_bits(gb, 32); } @@ -101,7 +101,8 @@ static int decode_pic_timing(HEVCContext *s) return 1; } -static void active_parameter_sets(HEVCContext *s) { +static void active_parameter_sets(HEVCContext *s) +{ GetBitContext *gb = &s->HEVClc->gb; int num_sps_ids_minus1; int i; |