#8638: the mode of fopen in example 'hw_decode' was wrong when used in windows
-------------------------------------+-------------------------------------
             Reporter:  elite_jwp    |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:               |                  Version:  4.2
  documentation                      |
             Keywords:  hw_decode    |               Blocked By:
  fopen                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 In the example 'hw_decode.c:225', the code is as below:

 {{{
  /* open the file to dump raw data */
  output_file = fopen(argv[3], "w+");
 }}}

 Here, the output file wasn't opened with mode "w+b" which would cause the
 data not be written "as is" in windows.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8638>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to