[FFmpeg-trac] #3407(avcodec:closed): tiff/geotiff support : number precision is not sufficient in double to string conversion

FFmpeg trac at avcodec.org
Sun Feb 23 19:32:26 CET 2014


#3407: tiff/geotiff support : number precision is not sufficient in double to
string conversion
-------------------------------------+-----------------------------------
             Reporter:  LeRatier     |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:  fixed
             Keywords:  tif          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by LeRatier):

 The source picture i am working on are confidential, so i cannot add them
 directly as samples. Anyway, i think it is a global issue, maybe present
 in other double metadatas : as soon as you convert a double value to a
 string, you should use something like %.15g instead of the default %f,
 that truncate the number at 6 digits.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3407#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list