[FFmpeg-devel] [PATCH] RoQ muxer

Måns Rullgård mans
Wed May 9 19:38:13 CEST 2007


Vitor <vitor1001 at gmail.com> writes:

> Michael Niedermayer wrote:
>> also i agree with reimar that if normal dts interleaving works then simply
>> using that seems like the best solution ...
>>
>
> Ok. In this case, the format is just raw, so this patch should do it.
>
> +static int roq_write_header(struct AVFormatContext *s)
> +{
> +    static const uint8_t header[] = {0x84, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00};

Minor nit: please split that line something like this:

    static const uint8_t header[] = {
        0x84, 0x10, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x00
    };

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list