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

Alexander Strange astrange at ithinksw.com
Tue Jul 15 19:23:16 CEST 2008


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.



More information about the FFmpeg-soc mailing list