#8639 closed defect (duplicate)
the mode of fopen in example 'hw_decode' was wrong when used in windows
| Reported by: | elite_jwp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
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.
Change History (2)
comment:1 by , 6 years ago
| Keywords: | hw_decode fopen removed |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
comment:2 by , 6 years ago
| Component: | documentation → undetermined |
|---|---|
| Priority: | minor → normal |
| Version: | 4.2 → unspecified |
Note:
See TracTickets
for help on using tickets.



Duplicate of #8638.