30 0x84, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00
35 for(n=0;n<
s->nb_streams;n++) {
39 if (
s->streams[n]->avg_frame_rate.den != 1) {
44 if ((fps=
s->streams[n]->avg_frame_rate.num) > 255) {
66 .p.extensions =
"roq",
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static int roq_write_header(struct AVFormatContext *s)
#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 const uint8_t header[24]