[FFmpeg-devel] [PATCH] Set correct frame_size for Speex decoding

Justin Ruggles justin.ruggles
Fri Jul 31 01:25:17 CEST 2009


Justin Ruggles wrote:
> Hi,
> 
> Currently AVCodecContext.frame_size is not set correctly for Speex.
> Since the Ogg and FLV demuxers and the libspeex decoder handle a full
> packet as a single frame, frame_size should be set to the Speex
> frame_size * frames_per_packet.
> 
> If frames_per_packet is not specified in the Speex header, or if there
> is no header, it can be determined after decoding the first packet.
> 
> Stream copy is not implemented yet for Speex, but once it is, a parser
> will be able to set all the stream parameters instead of the decoder
> when the header is missing or incomplete.

ping.

the other speex patches in my queue depend on this one.

thanks,
Justin






More information about the ffmpeg-devel mailing list