35 if (in->
size > 0xffff) {
61 .p.name =
"text2movsub",
85 .p.name =
"mov2textsub",
const FFBitStreamFilter ff_text2movsub_bsf
const FFBitStreamFilter ff_mov2textsub_bsf
int ff_bsf_get_packet(AVBSFContext *ctx, AVPacket **pkt)
Called by the bitstream filters to get the next packet for filtering.
int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt)
Called by bitstream filters to get packet for filtering.
common internal and external API header
void av_packet_free(AVPacket **pkt)
Free the packet, if the packet is reference counted, it will be unreferenced first.
void av_packet_unref(AVPacket *pkt)
Wipe the packet.
int av_packet_copy_props(AVPacket *dst, const AVPacket *src)
Copy only "properties" fields from src to dst.
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
static int text2movsub(AVBSFContext *ctx, AVPacket *out)
static int mov2textsub(AVBSFContext *ctx, AVPacket *pkt)
The bitstream filter state.
This structure stores compressed data.
static AVFormatContext * ctx