flic: do not set sample_fmt
authorPaul B Mahol <onemda@gmail.com>
Thu, 24 Jan 2013 12:37:29 +0000 (12:37 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 24 Jan 2013 15:02:44 +0000 (15:02 +0000)
It is supposed to be set from lavc only.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/flic.c

index 2b9ee67..8d49116 100644 (file)
@@ -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;