mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 03:42:24 +00:00
Merge branch 'pr/n113_anshul1912'
This commit is contained in:
commit
4ff49c2010
@ -441,7 +441,7 @@ int main(int argc, char *argv[])
|
||||
do
|
||||
{
|
||||
int ret = 0;
|
||||
char *bptr = buffer;
|
||||
char *bptr = ctx->buffer;
|
||||
memset(bptr,0,1024);
|
||||
int len = ff_get_ccframe(ffmpeg_ctx, bptr, 1024);
|
||||
if(len == AVERROR(EAGAIN))
|
||||
@ -466,7 +466,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}while(1);
|
||||
|
||||
free(buffer);
|
||||
free(ctx->buffer);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user