[FFmpeg-trac] #5101(avformat:reopened): Variables used uninitialized in libavformat/utils.c

FFmpeg trac at avcodec.org
Tue Sep 20 14:26:25 EEST 2016


#5101: Variables used uninitialized in libavformat/utils.c
------------------------------------+------------------------------------
             Reporter:  jeremyhu    |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by heleppkes):

 The compiler seems to complain about passing an uninitialized variable to
 another function, but not actually checking if that function uses it under
 the given conditions.

 Last I checked this code, it did not actually use these variables
 uninitialized, however the design might not be very easy to understand
 since it spans more then one function, and these variables are passed as
 arguments in between.

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


More information about the FFmpeg-trac mailing list