[vlc-devel] [PATCH 3/3] oggspots: Add OggSpots codec module

Francois Cartegnie fcvlcdev at free.fr
Sun Feb 28 21:58:36 CET 2016


Le 28/02/2016 21:22, Michael Tänzer a écrit :
> +    memcpy(&p_img_dec->fmt_in,  &p_dec->fmt_in,  sizeof(p_img_dec->fmt_in));
> +    p_img_dec->fmt_in.i_codec = VLC_CODEC_PNG;
> +    memcpy(&p_img_dec->fmt_out, &p_dec->fmt_out, sizeof(p_img_dec->fmt_out));
> +    p_img_dec->b_frame_drop_allowed = p_dec->b_frame_drop_allowed;

No.
see es_format_*()



> +
> +    /* Identification string */
> +    if ( memcmp(p_extra, "SPOTS\0\0\0", 8) ) {

    if ( memcmp(p_extra, "SPOTS\0\0", 8) ) {

> +        return VLC_EGENERIC;
> +    }


Francois


More information about the vlc-devel mailing list