summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/demuxers/demux_qt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 463e82970..d446cc17b 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -447,7 +447,7 @@ static inline void dump_moov_atom(unsigned char *moov_atom, int moov_atom_size)
FILE *f;
- f = fopen(RAW_MOOV_FILENAME, "w");
+ f = fopen(RAW_MOOV_FILENAME, "wb");
if (!f) {
perror(RAW_MOOV_FILENAME);
return;