パケット4

iso13818-1.pdfの表2-17(p.32)に脱字あります.

  • ISO/IEC 13818-1, ITU-T Rec. H.222.0 : 2000 (E)
    • 2.4.3.7 Semantic definition of fields in PES packet
      • Table 2-17 – PES packet(continued)

  else if ( trick_mode_control = = fast_reverse ) {
    field_id 2 bslbf
    intra_slice_refresh 1 bslbf
    frequency_truncation 2 bslbf
  else if ( trick_mode_control = = slow_reverse ) {
    rep_cntrl 5 uimsbf
  }


2番めの else if の直前に「}」が必要.awk での処理中に発見.

(12/10追記)

  • iso13818-1.pdf
    • 2.6.36,2.6.38,Table 2-17(「{」や「}」が抜けている)
    • Table B.1,Table B.3,Table B.5(「if」が「If」になっている)
  • 6-STD-B10v4_6-E2.pdf
    • Table 5-3,Table 5-4,Table 5-5,Table 5-7 (「{」や「}」が抜けている)
    • Table 6-15(forの区切り「;」が「,」になっている)
    • Table 6-83(「else if」が「Else if」になっている)

単純ミスだけど,プログラムでの整形中にエラーとなるので,あらかじめ修正するか,エラーを吐かせてから修正.