Mercurial > libavformat.hg
comparison oggparsevorbis.c @ 885:da1d5db0ce5c libavformat
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | feca73904e67 |
children | 91677ac6fb19 |
comparison
equal
deleted
inserted
replaced
884:2ece9c9dd94c | 885:da1d5db0ce5c |
---|---|
84 tt[tl] = 0; | 84 tt[tl] = 0; |
85 | 85 |
86 memcpy (ct, v, vl); | 86 memcpy (ct, v, vl); |
87 ct[vl] = 0; | 87 ct[vl] = 0; |
88 | 88 |
89 // took from Vorbis_I_spec | 89 // took from Vorbis_I_spec |
90 if (!strcmp (tt, "AUTHOR")) | 90 if (!strcmp (tt, "AUTHOR")) |
91 strncpy (as->author, ct, FFMIN(sizeof (as->author), vl)); | 91 strncpy (as->author, ct, FFMIN(sizeof (as->author), vl)); |
92 else if (!strcmp (tt, "TITLE")) | 92 else if (!strcmp (tt, "TITLE")) |
93 strncpy (as->title, ct, FFMIN(sizeof (as->title), vl)); | 93 strncpy (as->title, ct, FFMIN(sizeof (as->title), vl)); |
94 else if (!strcmp (tt, "COPYRIGHT")) | 94 else if (!strcmp (tt, "COPYRIGHT")) |
115 | 115 |
116 /** Parse the vorbis header | 116 /** Parse the vorbis header |
117 * Vorbis Identification header from Vorbis_I_spec.html#vorbis-spec-codec | 117 * Vorbis Identification header from Vorbis_I_spec.html#vorbis-spec-codec |
118 * [vorbis_version] = read 32 bits as unsigned integer | Not used | 118 * [vorbis_version] = read 32 bits as unsigned integer | Not used |
119 * [audio_channels] = read 8 bit integer as unsigned | Used | 119 * [audio_channels] = read 8 bit integer as unsigned | Used |
120 * [audio_sample_rate] = read 32 bits as unsigned integer | Used | 120 * [audio_sample_rate] = read 32 bits as unsigned integer | Used |
121 * [bitrate_maximum] = read 32 bits as signed integer | Not used yet | 121 * [bitrate_maximum] = read 32 bits as signed integer | Not used yet |
122 * [bitrate_nominal] = read 32 bits as signed integer | Not used yet | 122 * [bitrate_nominal] = read 32 bits as signed integer | Not used yet |
123 * [bitrate_minimum] = read 32 bits as signed integer | Used as bitrate | 123 * [bitrate_minimum] = read 32 bits as signed integer | Used as bitrate |
124 * [blocksize_0] = read 4 bits as unsigned integer | Not Used | 124 * [blocksize_0] = read 4 bits as unsigned integer | Not Used |
125 * [blocksize_1] = read 4 bits as unsigned integer | Not Used | 125 * [blocksize_1] = read 4 bits as unsigned integer | Not Used |