mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-11 03:31:59 +08:00
doc/examples: Always open files as "binary", not "text".
Fixes ticket #8638.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user