29 0x84, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00
34 for(n=0;n<
s->nb_streams;n++) {
38 if (
s->streams[n]->avg_frame_rate.den != 1) {
43 if ((fps=
s->streams[n]->avg_frame_rate.num) > 255) {
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.
AVOutputFormat ff_roq_muxer
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.
static const uint8_t header[24]