[FFmpeg-devel] Collection of patches

Michael Niedermayer michaelni
Thu Apr 24 12:45:44 CEST 2008


On Thu, Apr 24, 2008 at 12:08:30PM +0200, Thorsten Jordan wrote:
> Michael Niedermayer schrieb:
> > On Thu, Apr 24, 2008 at 11:52:07AM +0200, Thorsten Jordan wrote:
> >> Michael Niedermayer schrieb:
> >>> On Tue, Apr 22, 2008 at 12:36:02PM +0200, Thorsten Jordan wrote:
> >>> [...]
> >>>> Set pixel aspect ratio for xvid wrapper:
> >>>> libxvid_set_pixelaspect.patch
> >>> This is missing a check for sample_aspect_ratios validity.
> >> how is this version? xvid limits for num/den are 1..255 according to xvid.h
> >>
> 
> >     if (avctx->sample_aspect_ratio.num < 1 || avctx->sample_aspect_ratio.num > 255
> >             || sample_aspect_ratio.den < 1 || sample_aspect_ratio.den > 255) {
> > 
> > at tis point you should see that there is something wrong ...
> [...]
> > vertical align
> 
> sorry, my mistake, here is a version with all things fixed, it compiles
> also (should have checked before)

patch looks ok if it workss


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080424/e21fbe7f/attachment.pgp>



More information about the ffmpeg-devel mailing list