[FFmpeg-devel] [PATCH] RealAudio SIPR @16k decoder (4/4) demuxer

Diego Biurrun diego
Tue Sep 23 23:32:47 CEST 2008


On Sat, Jul 12, 2008 at 02:17:03PM +0700, Vladimir Voroshilov wrote:
> 
> Here is first draft version of fixed-point RealAudio sipr decoder
> (only 16kHz mode)
> 
> This patch contains demuxer changes from acelpdotnet patch.
> It was written by Benjamin Larsson and i didn't touch it.

Can this get applied?  IIUC this should allow stream copying and
playback with MPlayer's binary codecs...

> --- a/libavformat/rmdec.c
> +++ b/libavformat/rmdec.c
> @@ -580,6 +594,33 @@ ff_rm_parse_packet (AVFormatContext *s, AVStream *st, int len, AVPacket *pkt,
>                      for (x = 0; x < w/sps; x++)
>                          get_buffer(pb, rm->audiobuf+sps*(h*x+((h+1)/2)*(y&1)+(y>>1)), sps);
>                      break;
> +                case CODEC_ID_SIPR:
> +                        get_buffer(pb, rm->audiobuf + y * w, w);

wrong indentation

Diego




More information about the ffmpeg-devel mailing list