]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/flic.c
asfdec: ensure that the whole tag is read.
[ffmpeg] / libavformat / flic.c
index fbdf931517f872360f1893baec30fb9998c4b5c0..bf93c5c9b6865c31330b73247d547c2474921ac7 100644 (file)
@@ -157,7 +157,7 @@ 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 = SAMPLE_FMT_U8;
+        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 = CH_LAYOUT_MONO;
@@ -259,7 +259,7 @@ static int flic_read_packet(AVFormatContext *s,
     return ret;
 }
 
-AVInputFormat flic_demuxer = {
+AVInputFormat ff_flic_demuxer = {
     "flic",
     NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"),
     sizeof(FlicDemuxContext),