1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

* Add the 'flags' field to the list of codec fields passed from ffserver to

ffmpeg. This gives the VideoHighQuality patch a fighting chance.

Originally committed as revision 479 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Philip Gladstone 2002-05-09 12:37:44 +00:00
parent e7f9c67417
commit ccac2e27f1

View File

@ -153,6 +153,7 @@ static int ffm_write_header(AVFormatContext *s)
put_be32(pb, codec->codec_id);
put_byte(pb, codec->codec_type);
put_be32(pb, codec->bit_rate);
put_be32(pb, codec->flags);
/* specific info */
switch(codec->codec_type) {
case CODEC_TYPE_VIDEO:
@ -376,6 +377,7 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec.codec_id = get_be32(pb);
st->codec.codec_type = get_byte(pb); /* codec_type */
codec->bit_rate = get_be32(pb);
codec->flags = get_be32(pb);
/* specific info */
switch(codec->codec_type) {
case CODEC_TYPE_VIDEO: