Fix a bunch of common typos.

This commit is contained in:
Diego Biurrun
2011-10-05 14:12:42 +02:00
parent 2e87b4c511
commit da9cea77e3
51 changed files with 83 additions and 82 deletions
+2 -2
View File
@@ -361,7 +361,7 @@ static int flv_write_trailer(AVFormatContext *s)
file_size = avio_tell(pb);
/* update informations */
/* update information */
avio_seek(pb, flv->duration_offset, SEEK_SET);
put_amf_double(pb, flv->duration / (double)1000);
avio_seek(pb, flv->filesize_offset, SEEK_SET);
@@ -412,7 +412,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
}
if (enc->codec_id == CODEC_ID_H264) {
/* check if extradata looks like mp4 formated */
/* check if extradata looks like MP4 */
if (enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) {
if (ff_avc_parse_nal_units_buf(pkt->data, &data, &size) < 0)
return -1;