]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/iff.c
add FFDS fourcc, ok'd by kostya
[ffmpeg] / libavformat / iff.c
index a996a7fbc200fa8acde3b3f17fb203423a4fe47c..1fb94c057a55f0c65c7424eb8dcbbd9ac0035ce0 100644 (file)
@@ -149,9 +149,9 @@ static int iff_read_header(AVFormatContext *s,
         return -1;
     }
 
-    st->codec->bits_per_sample = 8;
-    st->codec->bit_rate = st->codec->channels * st->codec->sample_rate * st->codec->bits_per_sample;
-    st->codec->block_align = st->codec->channels * st->codec->bits_per_sample;
+    st->codec->bits_per_coded_sample = 8;
+    st->codec->bit_rate = st->codec->channels * st->codec->sample_rate * st->codec->bits_per_coded_sample;
+    st->codec->block_align = st->codec->channels * st->codec->bits_per_coded_sample;
 
     return 0;
 }