comparison xa.c @ 3908:1d3d17de20ba libavformat

Bump Major version, this commit is almost just renaming bits_per_sample to bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches!
author michael
date Mon, 08 Sep 2008 14:24:59 +0000
parents 7a0230981402
children 7d2f3f1b68d8
comparison
equal deleted inserted replaced
3907:7c71e9cabf0e 3908:1d3d17de20ba
70 st->codec->channels = get_le16(pb); 70 st->codec->channels = get_le16(pb);
71 st->codec->sample_rate = get_le32(pb); 71 st->codec->sample_rate = get_le32(pb);
72 /* Value in file is average byte rate*/ 72 /* Value in file is average byte rate*/
73 st->codec->bit_rate = get_le32(pb) * 8; 73 st->codec->bit_rate = get_le32(pb) * 8;
74 st->codec->block_align = get_le16(pb); 74 st->codec->block_align = get_le16(pb);
75 st->codec->bits_per_sample = get_le16(pb); 75 st->codec->bits_per_coded_sample = get_le16(pb);
76 76
77 av_set_pts_info(st, 64, 1, st->codec->sample_rate); 77 av_set_pts_info(st, 64, 1, st->codec->sample_rate);
78 78
79 return 0; 79 return 0;
80 } 80 }