#include "rtpdec_formats.h"
struct PayloadContext {
- ByteIOContext *data;
+ AVIOContext *data;
uint32_t timestamp;
int is_keyframe;
};
}
}
- put_buffer(vp8->data, buf, au_len);
+ avio_write(vp8->data, buf, au_len);
buf += au_len;
len -= au_len;
}
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));
}