projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114afa9
)
r/w -> rb/wb
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 24 Dec 2004 12:34:11 +0000
(12:34 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 24 Dec 2004 12:34:11 +0000
(12:34 +0000)
Originally committed as revision 3774 to svn://svn.ffmpeg.org/ffmpeg/trunk
tests/rotozoom.c
patch
|
blob
|
history
diff --git
a/tests/rotozoom.c
b/tests/rotozoom.c
index
bbf96e1
..
adbd0ae
100644
(file)
--- a/
tests/rotozoom.c
+++ b/
tests/rotozoom.c
@@
-118,7
+118,7
@@
void pgmyuv_save(const char *filename, int w, int h,
rgb24_to_yuv420p(lum_tab, cb_tab, cr_tab, rgb_tab, w, h);
- f = fopen(filename,"w");
+ f = fopen(filename,"w
b
");
fprintf(f, "P5\n%d %d\n%d\n", w, (h * 3) / 2, 255);
fwrite(lum_tab, 1, w * h, f);
h2 = h / 2;
@@
-231,7
+231,7
@@
void init_demo(const char *filename) {
FILE *fichier;
- fichier = fopen(filename,"r");
+ fichier = fopen(filename,"r
b
");
if (!fichier) {
perror(filename);
exit(1);