[FFmpeg-soc] [soc] Factor out size of delayed_pic.

Michael Niedermayer michaelni at gmx.at
Tue Jul 15 19:32:29 CEST 2008


On Tue, Jul 15, 2008 at 01:23:16PM -0400, Alexander Strange wrote:
> 
> On Jul 15, 2008, at 8:45 AM, Michael Niedermayer wrote:
> 
> > On Tue, Jul 15, 2008 at 04:19:35AM -0400, Alexander Strange wrote:
> >> ---
> >> libavcodec/h264.c |    2 +-
> >> libavcodec/h264.h |    4 +++-
> >> 2 files changed, 4 insertions(+), 2 deletions(-)
> >
> > ok
> >
> > [...]
> 
> Is the next one also OK?
> 
> -            assert(pics+1 < sizeof(h->delayed_pic) / sizeof(h- 
>  >delayed_pic[0]));
> +            assert(pics <= MAX_DELAYED_PIC_COUNT);
> 
> Making it a separate commit was actually pretty pointless.

If its the same nummerically before and afterwards then yes.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080715/3025acf8/attachment.pgp>


More information about the FFmpeg-soc mailing list