]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparseskeleton.c
mp3dec: fix reading the Xing tag
[ffmpeg] / libavformat / oggparseskeleton.c
index 2de067d84eb1f0d5fc8139fb2fa314c0840356bc..5333e17de693de1248af2d5b477d64a652f9d491 100644 (file)
@@ -34,7 +34,6 @@ static int skeleton_header(AVFormatContext *s, int idx)
     uint64_t start_granule;
     int target_idx, start_time;
 
-    strcpy(st->codec->codec_name, "skeleton");
     st->codec->codec_type = AVMEDIA_TYPE_DATA;
 
     if (os->psize < 8)
@@ -75,8 +74,8 @@ static int skeleton_header(AVFormatContext *s, int idx)
         target_idx = ogg_find_stream(ogg, AV_RL32(buf+12));
         start_granule = AV_RL64(buf+36);
         if (os->start_granule != OGG_NOGRANULE_VALUE) {
-            av_log_missing_feature(s,
-                                   "Multiple fisbone for the same stream", 0);
+            avpriv_report_missing_feature(s,
+                                          "Multiple fisbone for the same stream");
             return 1;
         }
         if (target_idx >= 0 && start_granule != OGG_NOGRANULE_VALUE) {