On 10/4/2019 3:24 AM, Skakov Pavel wrote:
>> You should use AVRationals instead. It's ideal seeing the way these
>> values are coded in the bitstream.
>>
>> See libavutil/rational.h
> 
> Can AVRational be used even through the values are essentially unsigned?
> LibTIFF really likes to encode 0..1 values with denominator 0xFFFFFFFF.

Is it feasible for this to use av_reduce() with INT_MAX as max argument?
It takes int64_t as input values, so UINT_MAX should be fine.

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to