diff --git a/libav/asf.c b/libav/asf.c index 23a2cb3471bff81b1e7edc32b2e1edfb37b1f9f4..74ab4596880adccaa6f12522d8079dc513f0d202 100644 --- a/libav/asf.c +++ b/libav/asf.c @@ -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') }, diff --git a/libav/avienc.c b/libav/avienc.c index 52fdea237e6500490521e37266eee2675c9757ac..43482d0914fcfe8f23c495b0cd3426635799207f 100644 --- a/libav/avienc.c +++ b/libav/avienc.c @@ -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') }, diff --git a/libav/grab.c b/libav/grab.c index 992236ab03598cc22b04eacd0ba78128a8cc8040..9c299daf83729e78a8b8ed74c2fdd5ae0510ac04 100644 --- a/libav/grab.c +++ b/libav/grab.c @@ -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;