]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_vp8.c
use tapt atom for sample aspect ratio
[ffmpeg] / libavformat / rtpdec_vp8.c
index 8de89ff15240dd69782e8f41d8bbcf68c5c1da4b..3b1ee137aa18ddc81433a6b7cc86432e4d474814 100644 (file)
@@ -31,7 +31,7 @@
 #include "rtpdec_formats.h"
 
 struct PayloadContext {
-    ByteIOContext *data;
+    AVIOContext *data;
     uint32_t       timestamp;
     int is_keyframe;
 };
@@ -111,7 +111,7 @@ static int vp8_handle_packet(AVFormatContext *ctx,
             }
         }
 
-        put_buffer(vp8->data, buf, au_len);
+        avio_write(vp8->data, buf, au_len);
         buf += au_len;
         len -= au_len;
     }
@@ -129,7 +129,8 @@ static int vp8_handle_packet(AVFormatContext *ctx,
 
 static PayloadContext *vp8_new_context(void)
 {
-    av_log(NULL, AV_LOG_WARNING, "RTP VP8 payload is still experimental\n");
+    av_log(NULL, AV_LOG_ERROR, "RTP VP8 payload implementation is incompatible "
+                               "with the latest spec drafts.\n");
     return av_mallocz(sizeof(PayloadContext));
 }