55 "Insufficient timestamps.\n");
59 h = (int)(
pts / (3600000));
60 m = (int)(
pts / (60000)) % 60;
61 s = (int)(
pts / 1000) % 60;
62 f = (int)(
pts % 1000) / 33;
64 for (
i = 0;
i <
pkt->size - 2;
i+=3) {
65 if (
pkt->data[
i] == 0xfc && ((
pkt->data[
i + 1] != 0x80 ||
pkt->data[
i + 2] != 0x80)))
68 if (
i >=
pkt->size - 2)
75 for (
i = 0;
i <
pkt->size;
i+=3) {
76 if (
i + 3 >
pkt->size)
79 if (
pkt->data[
i] != 0xfc || (
pkt->data[
i + 1] == 0x80 &&
pkt->data[
i + 2] == 0x80))
106 .p.extensions =
"scc",
void avio_w8(AVIOContext *s, int b)
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
Writes a formatted string to the context.
#define i(width, name, range_min, range_max)
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static void write_header(FFV1Context *f)
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_NOPTS_VALUE
Undefined timestamp value.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
static int scc_write_header(AVFormatContext *avf)
static int scc_write_packet(AVFormatContext *avf, AVPacket *pkt)
AVIOContext * pb
I/O context.
void * priv_data
Format private data.
AVStream ** streams
A list of all streams in the file.
This structure stores compressed data.