[FFmpeg-cvslog] flic: do not set sample_fmt

Paul B Mahol git at videolan.org
Thu Jan 24 16:05:03 CET 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 24 12:37:29 2013 +0000| [7b007a7c1fad57e9ed4b685c1d3b4222f02d9720] | committer: Paul B Mahol

flic: do not set sample_fmt

It is supposed to be set from lavc only.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b007a7c1fad57e9ed4b685c1d3b4222f02d9720
---

 libavformat/flic.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/flic.c b/libavformat/flic.c
index 2b9ee67..8d49116 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;



More information about the ffmpeg-cvslog mailing list