diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-24 20:21:23 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-24 20:21:23 +0000 |
commit | 00810ff19994509f4f8a080286ad43f5156e76c2 (patch) | |
tree | 687e12b760b8702534057b7348f27994c86b617d /epan/dissectors/packet-h263.c | |
parent | 830dd8e8f05e39238b97857e161821a41ff985df (diff) |
* Prefer col_append_str instead of col_append_fstr for constant strings
* Remove check_col guards
svn path=/trunk/; revision=30127
Diffstat (limited to 'epan/dissectors/packet-h263.c')
-rw-r--r-- | epan/dissectors/packet-h263.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h263.c b/epan/dissectors/packet-h263.c index 64bd7cd68c..44cefac36b 100644 --- a/epan/dissectors/packet-h263.c +++ b/epan/dissectors/packet-h263.c @@ -670,8 +670,7 @@ static void dissect_h263_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr /* Picture Start Code (PSC) * ( 1000 00x.) */ - if(check_col( pinfo->cinfo, COL_INFO)) - col_append_str( pinfo->cinfo, COL_INFO, "(PSC) "); + col_append_str( pinfo->cinfo, COL_INFO, "(PSC) "); offset = dissect_h263_picture_layer( tvb, pinfo, h263_payload_tree, offset, -1, FALSE); break; case 0xfc: @@ -683,8 +682,7 @@ static void dissect_h263_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr /* Group of Block Start Code (GBSC) or * Slice Start Code (SSC) */ - if ( check_col( pinfo->cinfo, COL_INFO) ) - col_append_str( pinfo->cinfo, COL_INFO, "(GBSC) "); + col_append_str( pinfo->cinfo, COL_INFO, "(GBSC) "); offset = dissect_h263_group_of_blocks_layer( tvb, h263_payload_tree, offset,FALSE); break; } |