[FFmpeg-devel] [PATCH 1/2] avcodec/diracdec: fix aspect ratio (it was lost after efcc8fddd6b7d1f931ff349e195d78c3c943d7fd)

Michael Niedermayer michael at niedermayer.cc
Thu Dec 17 19:01:18 CET 2015


On Thu, Dec 17, 2015 at 05:26:13PM +0100, Hendrik Leppkes wrote:
> On Thu, Dec 17, 2015 at 4:13 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > From: Michael Niedermayer <michael at niedermayer.cc>
> >
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/diracdec.c |    1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
> > index 000abf7..f35fe45 100644
> > --- a/libavcodec/diracdec.c
> > +++ b/libavcodec/diracdec.c
> > @@ -1990,6 +1990,7 @@ static int dirac_decode_data_unit(AVCodecContext *avctx, const uint8_t *buf, int
> >          }
> >
> >          ff_set_dimensions(avctx, dsh->width, dsh->height);
> > +        ff_set_sar(avctx, dsh->sample_aspect_ratio);
> >          avctx->pix_fmt         = dsh->pix_fmt;
> >          avctx->color_range     = dsh->color_range;
> >          avctx->color_trc       = dsh->color_trc;
> > --
> > 1.7.9.5
> >
> 
> Both patches LGTM, sorry for missing this property.

np, both patches applied

thx

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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151217/1193ed83/attachment.sig>


More information about the ffmpeg-devel mailing list