]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/flacdec.c
sbgdec: read_seek was undeprecated.
[ffmpeg] / libavformat / flacdec.c
index 070f9af3f6e93f20af2e0316f6976eab55bffb1c..95362922edfc1ceb033589b583c73ec94ab791db 100644 (file)
@@ -27,8 +27,7 @@
 #include "vorbiscomment.h"
 #include "libavcodec/bytestream.h"
 
-static int flac_read_header(AVFormatContext *s,
-                             AVFormatParameters *ap)
+static int flac_read_header(AVFormatContext *s)
 {
     int ret, metadata_last=0, metadata_type, metadata_size, found_streaminfo=0;
     uint8_t header[4];
@@ -158,5 +157,5 @@ AVInputFormat ff_flac_demuxer = {
     .read_packet    = ff_raw_read_partial_packet,
     .flags= AVFMT_GENERIC_INDEX,
     .extensions = "flac",
-    .value = CODEC_ID_FLAC,
+    .raw_codec_id   = CODEC_ID_FLAC,
 };