[jitsi-dev] Re: [jitsi~svn:10422] Adds some debian specific native compile options. Adds an option to build


#1

Damencho, it seems to me the former of the while loops above contains one src->inputs check too many. Was your intention to remove the src->nb_inputs check which is present in the latter while loop or did you rather mean to replace it with something else?

···

On 04.02.2013, at 14:30, damencho@java.net wrote:

Revision: 10422

Log Message:
------------
Adds some debian specific native compile options. Adds an option to build using libav.

Index: libjitsi/src/native/ffmpeg/org_jitsi_impl_neomedia_codec_FFmpeg.c

@@ -512,7 +516,11 @@
    int err;

    /* Find buffer. */
+#ifdef _JITSI_LIBAV_
+ while (src && src->inputs && src->inputs)
+#else
    while (src && src->nb_inputs && src->inputs)
+#endif
    {
        AVFilterLink *link = src->inputs[0];