[FFmpeg-devel] [PATCH] Print AV_NOPTS_VALUE in seek test

Ramiro Polla ramiro
Thu May 1 23:31:19 CEST 2008


Michael Niedermayer wrote:
> On Thu, May 01, 2008 at 09:28:37PM +0100, Ramiro Polla wrote:
>> Hello,
>>
>> Attached patch makes seek_test print AV_NOPTS_VALUE instead of some big 
>> negative and apparently meaningless number.
> 
> Complicating the code for no apparent reason, the regression tests are
> just for developers knowing what they do. And someone not knowing what
> the big meaningless number is wont be able to make any sense of
> "AV_NOPTS_VALUE" either.

Seek test fail on MinGW because MSVCRT doesn't properly printf() big 
numbers. Instead of printing
pts:-102481911520608.625000
it prints
pts:-102481911520608.600000

Ramiro Polla




More information about the ffmpeg-devel mailing list