summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-30 11:37:51 +0200
committerFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-30 11:37:51 +0200
commitcd7f17a9e7eb91803782a87164717269aa336273 (patch)
treea062896d7267b9c45123ddccebd9e8f9f3a171ed /src
parenta2ef98093f3e40a889c12ecca6e236505fdcbf05 (diff)
downloadxine-lib-cd7f17a9e7eb91803782a87164717269aa336273.tar.gz
xine-lib-cd7f17a9e7eb91803782a87164717269aa336273.tar.bz2
Using binary mode when writing raw data, in disabled debug code.
Diffstat (limited to 'src')
-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;