33 int startcode, vrc, picture_header;
54 startcode = (header & 0x0400) >> 9;
55 vrc = header & 0x0200;
56 picture_header = (header & 0x01f8) >> 3;
67 buf += picture_header;
68 len -= picture_header;
87 memcpy(ptr, buf, len);
RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
ptrdiff_t const GLvoid * data
RTP/JPEG specific private data.
int index
stream index in AVFormatContext
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16
Macro definitions for various function/variable attributes.
static const uint8_t header[24]
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler
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)
This structure stores compressed data.