comparison h263.c @ 10786:db269539f68f libavcodec

Document aspect_to_info().
author michael
date Thu, 07 Jan 2010 04:01:19 +0000
parents bb3abb64e395
children 3f8e40fe25c2
comparison
equal deleted inserted replaced
10785:bb3abb64e395 10786:db269539f68f
149 ); 149 );
150 } 150 }
151 151
152 #if CONFIG_ENCODERS 152 #if CONFIG_ENCODERS
153 153
154 /**
155 * Returns the 4 bit value that specifies the given aspect ratio.
156 * This may be one of the standard aspect ratios or it specifies
157 * that the aspect will be stored explicitly later.
158 */
154 static av_const int aspect_to_info(AVRational aspect){ 159 static av_const int aspect_to_info(AVRational aspect){
155 int i; 160 int i;
156 161
157 if(aspect.num==0) aspect= (AVRational){1,1}; 162 if(aspect.num==0) aspect= (AVRational){1,1};
158 163