Mercurial > libavformat.hg
changeset 3489:e9876fb1c84f libavformat
enable feeder threads
author | bcoudurier |
---|---|
date | Sun, 22 Jun 2008 01:35:43 +0000 |
parents | 222810cefa11 |
children | e410c33e60f6 |
files | ffmdec.c ffmenc.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ffmdec.c Sun Jun 22 00:26:25 2008 +0000 +++ b/ffmdec.c Sun Jun 22 01:35:43 2008 +0000 @@ -310,6 +310,7 @@ codec->frame_skip_cmp = get_be32(pb); codec->rc_buffer_aggressivity = av_int2dbl(get_be64(pb)); codec->codec_tag = get_be32(pb); + codec->thread_count = get_byte(pb); break; case CODEC_TYPE_AUDIO: codec->sample_rate = get_be32(pb);
--- a/ffmenc.c Sun Jun 22 00:26:25 2008 +0000 +++ b/ffmenc.c Sun Jun 22 01:35:43 2008 +0000 @@ -158,6 +158,7 @@ put_be32(pb, codec->frame_skip_cmp); put_be64(pb, av_dbl2int(codec->rc_buffer_aggressivity)); put_be32(pb, codec->codec_tag); + put_byte(pb, codec->thread_count); break; case CODEC_TYPE_AUDIO: put_be32(pb, codec->sample_rate);