[FFmpeg-devel] [PATCH] SoX native format muxer and demuxer

Diego Biurrun diego
Thu May 28 12:55:35 CEST 2009


On Wed, May 27, 2009 at 09:49:33PM -0400, Daniel Verkamp wrote:
> 
> Actually, with a comment size that large, header size could not be
> properly coded in the bits available, and the file would be invalid
> anyway, so here's a better check.
> 
> --- /dev/null
> +++ b/libavformat/soxdec.c
> @@ -0,0 +1,150 @@
> +/*
> + * SoX native format demuxer
> + * Copyright (c) 2009 Daniel Verkamp <daniel at drv.nu>
> + *
> + * Based on libSoX sox-fmt.c
> + * Copyright (c) 2008 robs at users.sourceforge.net

What is the license of libsox?

> --- /dev/null
> +++ b/libavformat/soxenc.c
> @@ -0,0 +1,128 @@
> +static int sox_write_header(AVFormatContext *s)
> +{
> +    SoXContext *sox = s->priv_data;
> +    ByteIOContext *pb = s->pb;
> +    AVCodecContext *enc = s->streams[0]->codec;

align

Diego



More information about the ffmpeg-devel mailing list