aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-01-24 12:37:29 +0000
committerPaul B Mahol <onemda@gmail.com>2013-01-24 15:02:44 +0000
commit7b007a7c1fad57e9ed4b685c1d3b4222f02d9720 (patch)
tree3d91c3a0deadc9e945728e337ff40aed7e72d653
parentfc13a89654b5878050ac07e36254c5e712aa8820 (diff)
downloadffmpeg-7b007a7c1fad57e9ed4b685c1d3b4222f02d9720.tar.gz
flic: do not set sample_fmt
It is supposed to be set from lavc only. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavformat/flic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/flic.c b/libavformat/flic.c
index 2b9ee67d46..8d49116acf 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;