diff options
author | lioux <lioux@FreeBSD.org> | 2002-06-01 02:19:48 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-06-01 02:19:48 +0800 |
commit | 0d3588dae31026e3913cf114bddc5c66dd5fcdc6 (patch) | |
tree | aaa7cb37fcea3c6bc06f2b462a58b5e67f1582d2 /multimedia/mjpegtools/files | |
parent | 4d0402e202c2f876442fcd0b68416fe26ecb78ed (diff) | |
download | freebsd-ports-gnome-0d3588dae31026e3913cf114bddc5c66dd5fcdc6.tar.gz freebsd-ports-gnome-0d3588dae31026e3913cf114bddc5c66dd5fcdc6.tar.zst freebsd-ports-gnome-0d3588dae31026e3913cf114bddc5c66dd5fcdc6.zip |
o New port mjpegtools version 1.6.0: Set of tools to record/playback/edit
videos in MPEG format
o Patch written by Adrian De Groot <adridg@aramis.cs.kun.nl>
Diffstat (limited to 'multimedia/mjpegtools/files')
-rw-r--r-- | multimedia/mjpegtools/files/patch-lavtools::divxdec.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/files/patch-lavtools::divxdec.cpp b/multimedia/mjpegtools/files/patch-lavtools::divxdec.cpp new file mode 100644 index 000000000000..27772b647f76 --- /dev/null +++ b/multimedia/mjpegtools/files/patch-lavtools::divxdec.cpp @@ -0,0 +1,40 @@ +--- lavtools/divxdec.cpp.orig Wed May 29 19:02:12 2002 ++++ lavtools/divxdec.cpp Wed May 29 20:08:34 2002 +@@ -1284,7 +1284,7 @@ + exit (1); + } + +-FILE* real_stdout; ++FILE real_stdout; + + int + main (int argc, char **argv) +@@ -1309,8 +1309,8 @@ + std::cout.rdbuf ( std::cerr.rdbuf () ); + // + // 4. keep old stdout FILE, and use stderr in its place (for printf ("...") ; ) +- real_stdout = stdout ; +- stdout = stderr; ++ real_stdout = *stdout ; ++ *stdout = *stderr; + + displayGreeting(); + +@@ -1733,7 +1733,7 @@ + if ( 0 == strcmp ( "-", filenameYUV ) ) + { + //output.fdYUV = FD_STDOUT; +- output.fdYUV = fileno ( real_stdout ); ++ output.fdYUV = fileno ( &real_stdout ); + } + else + { +@@ -2042,7 +2042,7 @@ + freeAll (); + // reassign cout, stdout to their original values. + std::cout.rdbuf ( real_cout ); +- stdout = real_stdout; ++ *stdout = real_stdout; + + mjpeg_info ( " " ); + mjpeg_info ( "Done. %i frames", output.processedFrames ); |