]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc_mpv.c
rtpdec_vp9: Update header parsing to spec draft 02
[ffmpeg] / libavformat / rtpenc_mpv.c
index 37dedc33f57dd98f75fc7051d1ce9fd9654faf65..70248c408addb75e571a9cbee393f34cd2e98ffb 100644 (file)
@@ -20,7 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "libavcodec/mpegvideo.h"
+#include "libavcodec/internal.h"
 #include "avformat.h"
 #include "rtpenc.h"
 
@@ -56,7 +56,7 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
             r1 = buf1;
             while (1) {
                 start_code = -1;
-                r = avpriv_mpv_find_start_code(r1, end, &start_code);
+                r = avpriv_find_start_code(r1, end, &start_code);
                 if((start_code & 0xFFFFFF00) == 0x100) {
                     /* New start code found */
                     if (start_code == 0x100) {