summaryrefslogtreecommitdiff
path: root/libav/avi.h
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-10-30 03:02:00 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-10-30 03:02:00 +0000
commit2727c35ed76c3f82e395a82db09b258203b0d54c (patch)
tree3e6202ddb1fe493763974d149dc3e0e8ca009ea2 /libav/avi.h
parentd6562d2cfa1ca5adc8a0cb02132c356980f61426 (diff)
* Made encoding to ASF streams work again. It turns out that the default
stream id that AVI wants for MSMPEG4V3 doesn't work for ASF. I have added a flag to indicate that certain tags should not be used in ASF streams. I think that this is the wrong solution (just adding a flag for ASF), but it does work. Originally committed as revision 1112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avi.h')
-rw-r--r--libav/avi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libav/avi.h b/libav/avi.h
index cdd20769df..a0acd28848 100644
--- a/libav/avi.h
+++ b/libav/avi.h
@@ -12,9 +12,10 @@ void end_tag(ByteIOContext *pb, offset_t start);
typedef struct CodecTag {
int id;
unsigned int tag;
+ unsigned int invalid_asf : 1;
} CodecTag;
-void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, CodecTag *tags);
+void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, CodecTag *tags, int for_asf);
int put_wav_header(ByteIOContext *pb, AVCodecContext *enc);
int wav_codec_get_id(unsigned int tag, int bps);
void get_wav_header(ByteIOContext *pb, AVCodecContext *codec,