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

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

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

/Tomas
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to