mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
doc/examples: Always open files as "binary", not "text".
Fixes ticket #8638.
This commit is contained in:
parent
c8ba0daf8d
commit
68f637b6f9
2 changed files with 2 additions and 2 deletions
|
|
@ -223,7 +223,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/* open the file to dump raw data */
|
||||
output_file = fopen(argv[3], "w+");
|
||||
output_file = fopen(argv[3], "w+b");
|
||||
|
||||
/* actual decoding and dump the raw data */
|
||||
while (ret >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue