]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/iff.c
Move frame_size fallback from ff_get_audio_frame_size() to av_get_audio_frame_duration()
[ffmpeg] / libavformat / iff.c
index 62f0b8387c297d35e1d209ff3cc14bf2c1a84fa1..a46bc92ceab642dca178a7db0b474773ebf1d513 100644 (file)
@@ -363,7 +363,7 @@ static int iff_read_header(AVFormatContext *s)
     iff->maud_bits = -1;
     iff->maud_compression = -1;
 
-    while(!url_feof(pb)) {
+    while(!avio_feof(pb)) {
         uint64_t orig_pos;
         int res;
         const char *metadata_tag = NULL;
@@ -584,7 +584,7 @@ static int iff_read_header(AVFormatContext *s)
                     }
                     break;
                 case 2:
-                    tag = ref < FF_ARRAY_ELEMS(dsd_source_comment) ? dsd_history_comment[ref] : "source_comment";
+                    tag = ref < FF_ARRAY_ELEMS(dsd_source_comment) ? dsd_source_comment[ref] : "source_comment";
                     break;
                 case 3:
                     tag = ref < FF_ARRAY_ELEMS(dsd_history_comment) ? dsd_history_comment[ref] : "file_history";