comparison avs.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 3d6e7901bf05
comparison
equal deleted inserted replaced
3907:7c71e9cabf0e 3908:1d3d17de20ba
180 return AVERROR(ENOMEM); 180 return AVERROR(ENOMEM);
181 avs->st_video->codec->codec_type = CODEC_TYPE_VIDEO; 181 avs->st_video->codec->codec_type = CODEC_TYPE_VIDEO;
182 avs->st_video->codec->codec_id = CODEC_ID_AVS; 182 avs->st_video->codec->codec_id = CODEC_ID_AVS;
183 avs->st_video->codec->width = avs->width; 183 avs->st_video->codec->width = avs->width;
184 avs->st_video->codec->height = avs->height; 184 avs->st_video->codec->height = avs->height;
185 avs->st_video->codec->bits_per_sample=avs->bits_per_sample; 185 avs->st_video->codec->bits_per_coded_sample=avs->bits_per_sample;
186 avs->st_video->nb_frames = avs->nb_frames; 186 avs->st_video->nb_frames = avs->nb_frames;
187 avs->st_video->codec->time_base = (AVRational) { 187 avs->st_video->codec->time_base = (AVRational) {
188 1, avs->fps}; 188 1, avs->fps};
189 } 189 }
190 return avs_read_video_packet(s, pkt, type, sub_type, size, 190 return avs_read_video_packet(s, pkt, type, sub_type, size,