X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Ftheora.c;h=28cbf930462dfca2784ed20c5dc303e976fab702;hb=03a094ee8b2eb7cee21a88e165c9376ea89437e8;hp=76c017d2e6fa84393c4419eafd74e644fbc7ecd1;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/modules/codec/theora.c b/modules/codec/theora.c index 76c017d2e6..28cbf93046 100644 --- a/modules/codec/theora.c +++ b/modules/codec/theora.c @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** @@ -89,7 +89,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict ); *****************************************************************************/ #define ENC_QUALITY_TEXT N_("Encoding quality") #define ENC_QUALITY_LONGTEXT N_( \ - "Allows you to specify a quality between 1 (low) and 10 (high), instead " \ + "Enfore a quality between 1 (low) and 10 (high), instead " \ "of specifying a particular bitrate. This will produce a VBR stream." ) vlc_module_begin(); @@ -665,12 +665,12 @@ static int OpenEncoder( vlc_object_t *p_this ) if( p_enc->fmt_in.video.i_aspect ) { - int64_t i_num, i_den; - int i_dst_num, i_dst_den; + uint64_t i_num, i_den; + unsigned i_dst_num, i_dst_den; i_num = p_enc->fmt_in.video.i_aspect * (int64_t)p_sys->ti.height; i_den = VOUT_ASPECT_FACTOR * p_sys->ti.width; - vlc_reduce( &i_dst_num, &i_dst_den, i_num, i_den, 0 ); + vlc_ureduce( &i_dst_num, &i_dst_den, i_num, i_den, 0 ); p_sys->ti.aspect_numerator = i_dst_num; p_sys->ti.aspect_denominator = i_dst_den; }