[FFmpeg-devel] [PATCH]lavc/mjpegdec: Only set SAR if resolution is available

Michael Niedermayer michael at niedermayer.cc
Tue Jan 19 02:09:06 CET 2016


On Tue, Jan 19, 2016 at 12:33:40AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #4479 here.
> 
> Please comment, Carl Eugen

if w/h is set at that point then their values may be unrelated to the
actual w/h values thus the set_sar there is wrong even if w/h is set

the patch is fine, iam not sure if the call shouldnt be (re)moved
though
moving it might be somewhat non trivial

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- 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/20160119/7663769c/attachment.sig>


More information about the ffmpeg-devel mailing list