Dear All,
I have a linux-based application, and a Windows C code in Visual Studio.
The Linux based library is built under MinGW.
I want to share a video file between these two, say processes (as...
Type: Posts; User: akm3
Dear All,
I have a linux-based application, and a Windows C code in Visual Studio.
The Linux based library is built under MinGW.
I want to share a video file between these two, say processes (as...
Even this doesn't solve the issue:
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
typedef struct MyStructure{
int argc;
this code simply takes a string like "av -i testvideo.flv out.mog" in the av_function, and parses its words, and puts in MyStructure, then prints the values of argv[i]
Is it a memory leak at all?...
Well,
Thanks for the reply.
I converted the big file, I am working with to a small example.
I tried many changes on that, but I still have the memory leak problem
Here is my simple code:
...
Well,
I can free the memory at the end of "my_function()", but I don't know why the allocated memory is overwritten?
I saw some examples of strtok(), they do not do memory allocation for the...
Dear All,
There is a part of a C code, that gives me ,apparently, a memory leak.
I cannot find the exact place, and make sure if anything is wrong.
I just wanted to see if anybody can help on...