24 #include "libavutil/attributes.h"
25 #include "libavutil/intreadwrite.h"
42 int startcode, vrc, picture_header;
63 startcode = (header & 0x0400) >> 9;
64 vrc = header & 0x0200;
65 picture_header = (header & 0x01f8) >> 3;
76 buf += picture_header;
77 len -= picture_header;
96 memcpy(ptr, buf, len);
RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
RTP/JPEG specific private data.
int index
stream index in AVFormatContext
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
enum AVStreamParseType need_parsing
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
AVStream ** streams
A list of all streams in the file.
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)
static av_cold int h263_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
This structure stores compressed data.