Skip to content

Commit

Permalink
flac_picture,mpeg: Fix trailing ")" typo in map sym and description
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Jan 25, 2023
1 parent d645e71 commit b04a650
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion format/flac/flac_picture.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var pictureTypeNames = scalar.UintMapSymStr{
0: "Other",
1: "32x32_pixels",
2: "other_file_icon",
3: "cover_front)",
3: "cover_front",
4: "cover_back",
5: "leaflet_page",
6: "media",
Expand Down
2 changes: 1 addition & 1 deletion format/flac/testdata/picture_seek_gain.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $ fq -d flac dv picture_seek_gain.flac
0x0120| 06| .| type: "picture" (6) 0x12f.1-0x12f.7 (0.7)
0x0130|00 00 6d |..m | length: 109 0x130-0x132.7 (3)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| picture{}: (flac_picture) 0x133-0x19f.7 (109)
0x0130| 00 00 00 03 | .... | picture_type: "cover_front)" (3) 0x133-0x136.7 (4)
0x0130| 00 00 00 03 | .... | picture_type: "cover_front" (3) 0x133-0x136.7 (4)
0x0130| 00 00 00 09 | .... | mime_length: 9 0x137-0x13a.7 (4)
0x0130| 69 6d 61 67 65| image| mime: "image/png" 0x13b-0x143.7 (9)
0x0140|2f 70 6e 67 |/png |
Expand Down
2 changes: 1 addition & 1 deletion format/matroska/testdata/aac.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ $ fq -d matroska dv aac.mkv
| | | type: "binary" 0x170-NA (0)
0x170|85 |. | size: 5 0x170-0x170.7 (1)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| value{}: (mpeg_asc) 0x171-0x175.7 (5)
0x170| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity)) 0x171-0x171.4 (0.5)
0x170| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity) 0x171-0x171.4 (0.5)
0x170| 12 08 | .. | sampling_frequency: 44100 (4) 0x171.5-0x172 (0.4)
0x170| 08 | . | channel_configuration: 1 (front-center) 0x172.1-0x172.4 (0.4)
0x170| 08 56 e5 00 | .V.. | var_aot_or_byte_align: raw bits 0x172.5-0x175.7 (3.3)
Expand Down
2 changes: 1 addition & 1 deletion format/media.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const (
var MPEGAudioObjectTypeNames = scalar.UintMap{
0: {Sym: "mull", Description: "Null"},
MPEGAudioObjectTypeMain: {Sym: "aac_main", Description: "AAC Main"},
MPEGAudioObjectTypeLC: {Sym: "aac_lc", Description: "AAC Low Complexity)"},
MPEGAudioObjectTypeLC: {Sym: "aac_lc", Description: "AAC Low Complexity"},
MPEGAudioObjectTypeSSR: {Sym: "aac_ssr", Description: "AAC Scalable Sample Rate"},
MPEGAudioObjectTypeLTP: {Sym: "aac_ltp", Description: "AAC Long Term Prediction"},
MPEGAudioObjectTypeSBR: {Sym: "sbr", Description: "Spectral Band Replication"},
Expand Down
2 changes: 1 addition & 1 deletion format/mp4/testdata/aac.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ $ fq -d mp4 dv aac.mp4
0x480| 05 | . | tag_id: "DecSpecificInfoTag" (5) 0x481-0x481.7 (1)
0x480| 80 80 80 05 | .... | length: 5 0x482-0x485.7 (4)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| audio_specific_config{}: (mpeg_asc) 0x486-0x48a.7 (5)
0x480| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity)) 0x486-0x486.4 (0.5)
0x480| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity) 0x486-0x486.4 (0.5)
0x480| 12 08 | .. | sampling_frequency: 44100 (4) 0x486.5-0x487 (0.4)
0x480| 08 | . | channel_configuration: 1 (front-center) 0x487.1-0x487.4 (0.4)
0x480| 08 56 e5 00 | .V.. | var_aot_or_byte_align: raw bits 0x487.5-0x48a.7 (3.3)
Expand Down
2 changes: 1 addition & 1 deletion format/mp4/testdata/dash.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ fq -d mp4 dv dash_audio_init.mp4
0x250| 05 | . | tag_id: "DecSpecificInfoTag" (5) 0x25c-0x25c.7 (1)
0x250| 05 | . | length: 5 0x25d-0x25d.7 (1)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| audio_specific_config{}: (mpeg_asc) 0x25e-0x262.7 (5)
0x250| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity)) 0x25e-0x25e.4 (0.5)
0x250| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity) 0x25e-0x25e.4 (0.5)
0x250| 12 08| ..| sampling_frequency: 44100 (4) 0x25e.5-0x25f (0.4)
0x250| 08| .| channel_configuration: 1 (front-center) 0x25f.1-0x25f.4 (0.4)
0x250| 08| .| var_aot_or_byte_align: raw bits 0x25f.5-0x262.7 (3.3)
Expand Down
2 changes: 1 addition & 1 deletion format/mp4/testdata/fragmented.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ $ fq -d mp4 dv fragmented.mp4
0x003d0| 05 | . | tag_id: "DecSpecificInfoTag" (5) 0x3db-0x3db.7 (1)
0x003d0| 80 80 80 05| ....| length: 5 0x3dc-0x3df.7 (4)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| audio_specific_config{}: (mpeg_asc) 0x3e0-0x3e4.7 (5)
0x003e0|12 |. | object_type: "aac_lc" (2) (AAC Low Complexity)) 0x3e0-0x3e0.4 (0.5)
0x003e0|12 |. | object_type: "aac_lc" (2) (AAC Low Complexity) 0x3e0-0x3e0.4 (0.5)
0x003e0|12 08 |.. | sampling_frequency: 44100 (4) 0x3e0.5-0x3e1 (0.4)
0x003e0| 08 | . | channel_configuration: 1 (front-center) 0x3e1.1-0x3e1.4 (0.4)
0x003e0| 08 56 e5 00 | .V.. | var_aot_or_byte_align: raw bits 0x3e1.5-0x3e4.7 (3.3)
Expand Down
6 changes: 3 additions & 3 deletions format/mpeg/testdata/adts.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $ fq -d adts dv adts
0x000| f1 | . | mpeg_version: "mpeg4" (0) 0x1.4-0x1.4 (0.1)
0x000| f1 | . | layer: 0 (valid) 0x1.5-0x1.6 (0.2)
0x000| f1 | . | protection_absent: true (No CRC) 0x1.7-0x1.7 (0.1)
0x000| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x2-0x2.1 (0.2)
0x000| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity) 0x2-0x2.1 (0.2)
0x000| 50 | P | sampling_frequency: 44100 (4) 0x2.2-0x2.5 (0.4)
0x000| 50 | P | private_bit: 0 0x2.6-0x2.6 (0.1)
0x000| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x2.7-0x3.1 (0.3)
Expand Down Expand Up @@ -41,7 +41,7 @@ $ fq -d adts dv adts
0x150| f1 | . | mpeg_version: "mpeg4" (0) 0x155.4-0x155.4 (0.1)
0x150| f1 | . | layer: 0 (valid) 0x155.5-0x155.6 (0.2)
0x150| f1 | . | protection_absent: true (No CRC) 0x155.7-0x155.7 (0.1)
0x150| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x156-0x156.1 (0.2)
0x150| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity) 0x156-0x156.1 (0.2)
0x150| 50 | P | sampling_frequency: 44100 (4) 0x156.2-0x156.5 (0.4)
0x150| 50 | P | private_bit: 0 0x156.6-0x156.6 (0.1)
0x150| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x156.7-0x157.1 (0.3)
Expand All @@ -66,7 +66,7 @@ $ fq -d adts dv adts
0x2c0|f1 |. | mpeg_version: "mpeg4" (0) 0x2c0.4-0x2c0.4 (0.1)
0x2c0|f1 |. | layer: 0 (valid) 0x2c0.5-0x2c0.6 (0.2)
0x2c0|f1 |. | protection_absent: true (No CRC) 0x2c0.7-0x2c0.7 (0.1)
0x2c0| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity)) 0x2c1-0x2c1.1 (0.2)
0x2c0| 50 | P | profile: "aac_lc" (2) (AAC Low Complexity) 0x2c1-0x2c1.1 (0.2)
0x2c0| 50 | P | sampling_frequency: 44100 (4) 0x2c1.2-0x2c1.5 (0.4)
0x2c0| 50 | P | private_bit: 0 0x2c1.6-0x2c1.6 (0.1)
0x2c0| 50 80 | P. | channel_configuration: 2 (front-left, front-right) 0x2c1.7-0x2c2.1 (0.3)
Expand Down
2 changes: 1 addition & 1 deletion format/rtmp/testdata/ffmpeg_server_stream.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ $ fq -d rtmp 'dv({array_truncate: 20})' ffmpeg_server_stream
0x000|af |. | channels: 2 (1) 0x0.7-0x0.7 (0.1)
0x000| 00 | . | type: "asc" (0) 0x1-0x1.7 (1)
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef| data{}: (mpeg_asc) 0x2-0x6.7 (5)
0x000| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity)) 0x2-0x2.4 (0.5)
0x000| 12 | . | object_type: "aac_lc" (2) (AAC Low Complexity) 0x2-0x2.4 (0.5)
0x000| 12 10 | .. | sampling_frequency: 44100 (4) 0x2.5-0x3 (0.4)
0x000| 10 | . | channel_configuration: 2 (front-left, front-right) 0x3.1-0x3.4 (0.4)
0x000| 10 56 e5 00| | .V..| | var_aot_or_byte_align: raw bits 0x3.5-0x6.7 (3.3)
Expand Down

0 comments on commit b04a650

Please sign in to comment.