Merge branch 'pr/n113_anshul1912'

This commit is contained in:
cfsmp3 2014-10-11 13:02:11 +02:00
commit 4ff49c2010

View File

@ -441,7 +441,7 @@ int main(int argc, char *argv[])
do do
{ {
int ret = 0; int ret = 0;
char *bptr = buffer; char *bptr = ctx->buffer;
memset(bptr,0,1024); memset(bptr,0,1024);
int len = ff_get_ccframe(ffmpeg_ctx, bptr, 1024); int len = ff_get_ccframe(ffmpeg_ctx, bptr, 1024);
if(len == AVERROR(EAGAIN)) if(len == AVERROR(EAGAIN))
@ -466,7 +466,7 @@ int main(int argc, char *argv[])
} }
}while(1); }while(1);
free(buffer); free(ctx->buffer);
continue; continue;
} }
else else