36 int startcode, vrc, picture_header;
57 startcode = (header & 0x0400) >> 9;
58 vrc = header & 0x0200;
59 picture_header = (header & 0x01f8) >> 3;
70 buf += picture_header;
71 len -= picture_header;
90 memcpy(ptr, buf, len);
RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
AV_WL32 AV_WL24 AV_WL16 AV_WB32 AV_WB24 AV_RB16
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
RTP/H264 specific private data.
int index
stream index in AVFormatContext
RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler
void av_log(void *avcl, int level, const char *fmt,...)
static int h263_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.