Justin Ruggles skrev 2011-04-20 18:48:
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?
No, it's the video files in the CD version of "X-COM: Terror from the
Deep". They're FLIs with an audio stream, but improperly chunked - see
the comments about FLIC_TFTD_CHUNK_AUDIO.
Anyway, I think I uploaded some samples around that time (a year ago).
Look for INTRO.VID among the samples. I can upload them again though.
/Tomas
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel