[FFmpeg-soc] [soc]: r5371 - wmapro/wmaprodec.c

Sascha Sommer saschasommer at freenet.de
Mon Aug 31 21:02:46 CEST 2009


Hi,

On Montag, 31. August 2009, Ronald S. Bultje wrote:
> Hi Sascha,
>
> On Mon, Aug 31, 2009 at 2:28 PM, Sascha Sommer<saschasommer at freenet.de> 
wrote:
> > On Montag, 31. August 2009, Ronald S. Bultje wrote:
> >> On Mon, Aug 31, 2009 at 2:07 PM, faust3<subversion at mplayerhq.hu> wrote:
> >> > + *@return decoded subframe length on success, < 0 in case of an error
> >>
> >> [..]
> >>
> >> > -        if (!(subframe_len = decode_subframe_length(s,
> >> > min_channel_len))) +        if ((subframe_len =
> >> > decode_subframe_length(s, min_channel_len)) <= 0)
> >>
> >> <= should be <.
> >
> > subframe_len == 0 might be no error for decode_subframe_length
> > But it is an error for the calling function in this case.
> > (Although this should not happen with the current implementation)
>
> Of course - could you clarify that with a comment to prevent more
> dummy questions like mine? :-).

Done.

>
> Great work btw!
>

Thanks.

Regards

Sascha


More information about the FFmpeg-soc mailing list