OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
247003b
)
Note to self: Don't reverse the arguments to fseek(o)...
author
Andreas Huber
<andih@google.com>
Tue, 8 Dec 2009 00:37:37 +0000
(16:37 -0800)
committer
Andreas Huber
<andih@google.com>
Tue, 8 Dec 2009 00:41:57 +0000
(16:41 -0800)
media/libstagefright/FileSource.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/FileSource.cpp
b/media/libstagefright/FileSource.cpp
index
130239e
..
37c2450
100644
(file)
--- a/
media/libstagefright/FileSource.cpp
+++ b/
media/libstagefright/FileSource.cpp
@@
-70,7
+70,7
@@
status_t FileSource::getSize(off_t *size) {
return OK;
}
- fseek(mFile,
SEEK_END, 0
);
+ fseek(mFile,
0, SEEK_END
);
*size = ftello(mFile);
return OK;