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

Alexander Strange astrange at ithinksw.com
Tue Jul 15 23:52:21 CEST 2008


On Jul 15, 2008, at 1:32 PM, Michael Niedermayer wrote:

> 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.
>
> [...]

It is, applied.




More information about the FFmpeg-soc mailing list