[FFmpeg-devel] [PATCH] oggpagesize option added

Baptiste Coudurier baptiste.coudurier
Wed Jan 26 21:54:01 CET 2011


Hi,

On 01/26/2011 03:03 AM, Andres Gonzalez wrote:
>
> This is the patch with:
> - No tabs
> - #include ".../avassert.h" removed
> - Ogg instead of OGG.
>
> [...]
 >
> +        if(ogg->pref_size<= 0) {
> +            if (page->segments_count == 255) {
> +                ogg_buffer_page(s, oggstream);
> +            }
> +        } else {
> +            if (page->size>= ogg->pref_size) {
> +                ogg_buffer_page(s, oggstream);

You still have to buffer the page at segments_count == 255.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list