[FFmpeg-trac] #1779(FFmpeg:new): [patch] fixed wrong printf format identifier in ffmpeg/ffserver.c

FFmpeg trac at avcodec.org
Tue Oct 2 12:15:00 CEST 2012


#1779: [patch] fixed wrong printf format identifier in ffmpeg/ffserver.c
-------------------------------------+-------------------------------------
             Reporter:  ettl.martin  |                     Type:
               Status:  new          |  enhancement
            Component:  FFmpeg       |                 Priority:  normal
             Keywords:  printf,      |                  Version:  git-
  patch                              |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 During a code review, i found a wrong printf format identifier in file :
 {{{ffmpeg/ffserver.c}}}. In this case {{{%d}}} has been used to print an
 {{{unsigned integer}}}. The attached patch uses {{{%u}}}, which is the
 correct identifier.

 Please refer the attache patch.

 Best regards and many thanks

 Martin Ettl

 Reference:
 http://www.cplusplus.com/reference/clibrary/cstdio/printf/

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1779>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list