28 static const char *
header =
"# timecode format v2\n";
37 if (
pkt->stream_index)
39 snprintf(buf,
sizeof(buf),
"%" PRId64
"\n",
pkt->dts);
45 .p.name =
"mkvtimestamp_v2",
46 .p.long_name =
NULL_IF_CONFIG_SMALL(
"extract pts as timecode v2 format, as defined by mkvtoolnix"),
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
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 NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int write_packet(AVFormatContext *s, AVPacket *pkt)
static int write_header(AVFormatContext *s)
static const uint8_t header[24]
This structure stores compressed data.