[FFmpeg-soc] [PATCH] xiph packetizer

Ronald S. Bultje rsbultje at gmail.com
Mon Jul 26 18:51:52 CEST 2010


Hi,

On Mon, Jul 26, 2010 at 6:05 AM, Josh Allmann <joshua.allmann at gmail.com> wrote:
[..]
> @@ -154,6 +156,11 @@ static int rtp_write_header(AVFormatContext *s1)
>          }
>      case CODEC_ID_AAC:
>          s->num_frames = 0;
> +    case CODEC_ID_VORBIS:
> +    case CODEC_ID_THEORA:
> +        if (!s->max_frames_per_packet || s->max_frames_per_packet > 15)
> +            s->max_frames_per_packet = 15;

av_clip()?

Ronald


More information about the FFmpeg-soc mailing list