]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/daud.c
Use RTP_PT_PRIVATE in sdp.c instead of hardcoding 96.
[ffmpeg] / libavformat / daud.c
index c0626dfb240c7d8f90f0e8e6dffa2c923e0be3a9..cdd831ba4b0d081544cc1b5eb0754c3153d0607f 100644 (file)
@@ -31,7 +31,7 @@ static int daud_header(AVFormatContext *s, AVFormatParameters *ap) {
     st->codec->sample_rate = 96000;
     st->codec->bit_rate = 3 * 6 * 96000 * 8;
     st->codec->block_align = 3 * 6;
-    st->codec->bits_per_sample = 24;
+    st->codec->bits_per_coded_sample = 24;
     return 0;
 }
 
@@ -78,7 +78,7 @@ AVInputFormat daud_demuxer = {
 };
 #endif
 
-#ifdef CONFIG_DAUD_MUXER
+#if CONFIG_DAUD_MUXER
 AVOutputFormat daud_muxer =
 {
     "daud",