]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sapdec.c
bink: set audio stream codec_tag such that binkaudio decoder can identify bitstream...
[ffmpeg] / libavformat / sapdec.c
index ef1ecc47d7a88568d7d2b98c951f4e2f27d9bd61..e3cdcea6a6af6976fbe7f3ad03920af8ad224e4c 100644 (file)
@@ -25,6 +25,7 @@
 #include "network.h"
 #include "os_support.h"
 #include "internal.h"
+#include "avio_internal.h"
 #if HAVE_POLL_H
 #include <poll.h>
 #endif
@@ -142,7 +143,7 @@ static int sap_read_header(AVFormatContext *s,
     }
 
     av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", sap->sdp);
-    init_put_byte(&sap->sdp_pb, sap->sdp, strlen(sap->sdp), 0, NULL, NULL,
+    ffio_init_context(&sap->sdp_pb, sap->sdp, strlen(sap->sdp), 0, NULL, NULL,
                   NULL, NULL);
 
     infmt = av_find_input_format("sdp");