On 04/20/2011 03:29 AM, Tomas Härdin wrote:

> Justin Ruggles skrev 2011-04-20 01:17:
>> diff --git a/libavformat/flic.c b/libavformat/flic.c
>> index fcdf4c8..ad39d66 100644
>> --- a/libavformat/flic.c
>> +++ b/libavformat/flic.c
>> @@ -158,7 +158,6 @@ static int flic_read_header(AVFormatContext *s,
>>          ast->codec->codec_tag = 0;
>>          ast->codec->sample_rate = FLIC_TFTD_SAMPLE_RATE;
>>          ast->codec->channels = 1;
>> -        ast->codec->sample_fmt = AV_SAMPLE_FMT_U8;
>>          ast->codec->bit_rate = st->codec->sample_rate * 8;
>>          ast->codec->bits_per_coded_sample = 8;
>>          ast->codec->channel_layout = AV_CH_LAYOUT_MONO;
> 
> Samples still work -> OK

well... it seems none of the samples in fate or in the samples archive
have an audio stream. mike, do you have any of these stashed away somewhere?

> Looking some more, it seems setting codec_tag, bit_rate, 
> bits_per_coded_sample and extradata_size can all be dropped as well.

true.

> This reminds me - did I ever upload the TFTD samples? If so, do we want 
> to do anything with them?


what are the tftd samples? is that pcm_lxf?

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to