changeset 207:7865656658dc libavformat

stdin patch by (Charles Yates <charles dot yates at pandora dot be>) * removes use of read_key and getchar when input is received on stdin (this was corrupting the packet reading) * terminates av_encode when a termination signal is received (use of ctrl-c issued a term_exit and subsequent uses of q failed) * specific correction to yuv4mpeg pipe reading - the defined header was too short to allow for extended yuv4mpeg flags [as used by smil2yuv and y4mscaler and accepted by mjpeg tools]
author michaelni
date Fri, 29 Aug 2003 20:51:10 +0000
parents 3a493a2e5bba
children 8dd53565cd50
files yuv4mpeg.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/yuv4mpeg.c	Fri Aug 29 20:33:57 2003 +0000
+++ b/yuv4mpeg.c	Fri Aug 29 20:51:10 2003 +0000
@@ -173,7 +173,8 @@
     .flags = AVFMT_RAWPICTURE,
 };
 
-#define MAX_YUV4_HEADER 50
+/* Header size increased to allow room for optional flags */
+#define MAX_YUV4_HEADER 80
 #define MAX_FRAME_HEADER 10
 
 static int yuv4_read_header(AVFormatContext *s, AVFormatParameters *ap)