OSDN Git Service

- Changed FOURCC for H263.
authorJuanjo <pulento@users.sourceforge.net>
Thu, 2 May 2002 04:21:22 +0000 (04:21 +0000)
committerJuanjo <pulento@users.sourceforge.net>
Thu, 2 May 2002 04:21:22 +0000 (04:21 +0000)
- Warnings fixes.

Originally committed as revision 430 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/asf.c
libav/avienc.c
libav/grab.c

index 23a2cb3..74ab459 100644 (file)
@@ -124,8 +124,8 @@ static const GUID my_guid = {
 };
 
 CodecTag codec_asf_bmp_tags[] = {
-    { CODEC_ID_H263, MKTAG('U', '2', '6', '3') },
-    { CODEC_ID_H263P, MKTAG('U', '2', '6', '3') },
+    { CODEC_ID_H263, MKTAG('H', '2', '6', '3') },
+    { CODEC_ID_H263P, MKTAG('H', '2', '6', '3') },
     { CODEC_ID_H263I, MKTAG('I', '2', '6', '3') }, /* intel h263 */
     { CODEC_ID_MJPEG, MKTAG('M', 'J', 'P', 'G') },
     { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') },
index 52fdea2..43482d0 100644 (file)
@@ -56,8 +56,8 @@ void end_tag(ByteIOContext *pb, offset_t start)
 /* Note: when encoding, the first matching tag is used, so order is
    important if multiple tags possible for a given codec. */
 CodecTag codec_bmp_tags[] = {
-    { CODEC_ID_H263, MKTAG('U', '2', '6', '3') },
-    { CODEC_ID_H263P, MKTAG('U', '2', '6', '3') },
+    { CODEC_ID_H263, MKTAG('H', '2', '6', '3') },
+    { CODEC_ID_H263P, MKTAG('H', '2', '6', '3') },
     { CODEC_ID_H263I, MKTAG('I', '2', '6', '3') }, /* intel h263 */
     { CODEC_ID_MJPEG, MKTAG('M', 'J', 'P', 'G') },
     { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') },
index 992236a..9c299da 100644 (file)
@@ -238,8 +238,9 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
 static int v4l_mm_read_picture(VideoData *s, UINT8 *buf)
 {
     UINT8 *ptr;
-    struct timeval tv_s, tv_e;
-    int delay;
+    struct timeval tv_s;
+    //struct timeval tv_e;
+    //int delay;
 
     /* Setup to capture the next frame */
     gb_buf.frame = (gb_frame + 1) % gb_buffers.frames;