Commit 60b925e6 authored by Ghislain MARY's avatar Ghislain MARY

Upstream commit "AMR-WB Encoder: Enable sample app"

Adapted from upstream commit 3c6813df08299433a32e56e90e2820b25346d07a.
parent 89798f77
......@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "voAMRWB.h"
#include "cmnMemory.h"
......@@ -222,12 +223,12 @@ int encode(
fflush(fdst);
}
}
else if(returnCode == VO_ERR_LICENSE_ERROR)
else if((unsigned)returnCode == VO_ERR_LICENSE_ERROR)
{
printf("Encoder time reach upper limit......");
goto safe_exit;
}
} while(returnCode != VO_ERR_INPUT_BUFFER_SMALL);
} while((unsigned)returnCode != VO_ERR_INPUT_BUFFER_SMALL);
finish = clock();
duration += finish - start;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment