Mercurial > libavformat.hg
diff flic.c @ 6484:29e95ae56fa9 libavformat
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.
author | stefano |
---|---|
date | Sat, 25 Sep 2010 23:27:16 +0000 |
parents | 6ac06c16fb75 |
children |
line wrap: on
line diff
--- a/flic.c Fri Sep 24 18:04:21 2010 +0000 +++ b/flic.c Sat Sep 25 23:27:16 2010 +0000 @@ -152,7 +152,7 @@ /* all audio frames are the same size, so use the size of the first chunk for block_align */ ast->codec->block_align = AV_RL32(&preamble[0]); - ast->codec->codec_type = CODEC_TYPE_AUDIO; + ast->codec->codec_type = AVMEDIA_TYPE_AUDIO; ast->codec->codec_id = CODEC_ID_PCM_U8; ast->codec->codec_tag = 0; ast->codec->sample_rate = FLIC_TFTD_SAMPLE_RATE;