]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/segafilm.c
Bump Major version, this commit is almost just renaming bits_per_sample to
[ffmpeg] / libavformat / segafilm.c
index 4c6d138d6be27d243032809c1871145fddc31902..4bc46c2773fd3889728f26a9e5804e3d42e28746 100644 (file)
@@ -148,12 +148,12 @@ static int film_read_header(AVFormatContext *s,
         st->codec->codec_id = film->audio_type;
         st->codec->codec_tag = 1;
         st->codec->channels = film->audio_channels;
-        st->codec->bits_per_sample = film->audio_bits;
+        st->codec->bits_per_coded_sample = film->audio_bits;
         st->codec->sample_rate = film->audio_samplerate;
         st->codec->bit_rate = st->codec->channels * st->codec->sample_rate *
-            st->codec->bits_per_sample;
+            st->codec->bits_per_coded_sample;
         st->codec->block_align = st->codec->channels *
-            st->codec->bits_per_sample / 8;
+            st->codec->bits_per_coded_sample / 8;
     }
 
     /* load the sample table */