32 int startcode, vrc, picture_header;
53 startcode = (header & 0x0400) >> 9;
54 vrc = header & 0x0200;
55 picture_header = (header & 0x01f8) >> 3;
66 buf += picture_header;
67 len -= picture_header;
86 memcpy(ptr, buf, len);
RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler
RTP/JPEG specific private data.
int index
stream index in AVFormatContext
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler
void av_log(void *avcl, int level, const char *fmt,...)
int ff_h263_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
#define AVERROR_INVALIDDATA
This structure stores compressed data.