Message ID | CAB0OVGoSPOY9_5Ki17FGVbUOEOCpTDWFqpC1UyYSQbnkZxxRRQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] examples/hw_decode: Add binary mode to fopen() for non-POSIX systems | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c index f3286f472d..71be6e6709 100644 --- a/doc/examples/hw_decode.c +++ b/doc/examples/hw_decode.c @@ -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) {