[FFmpeg-user] Help free() invalid pointer
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Jan 17 00:03:14 EET 2019
2019-01-16 18:18 GMT+01:00, NDJORE BORIS <ndjoreboris at gmail.com>:
> Hello all,
> I need help please.
> I use ffmpeg in my cpp program.
> In the main of my main.cpp file I initialize two times codeccontext and
> filtercontext.
> Because at one hand, I extract motion vecteur and do somes actions
> (editing) on them (mvs).
> And at the second time, I put edited motion vectors in the output file
> during reeconding.
> The functions that do the actions (edit) on motions vecteurs are in an
> other .cpp file (editmv.cpp).The header file of editmv.cpp is included in
> an other header file witch is included in my main.cpp.
> but when I run the executable. At the end of the first action witch is the
> extraction and editing of mvs in the other cpp file, when my program comes
> back to the main at second time to reencode the video, I get this error :
> free(): invalid pointer: 0x00007fffffffe001.
>
> Can someone help me, please?
>
> This is the valgring command output :
>From a quick look, nothing in your valgrind output points to FFmpeg
source code, why do you believe we can help you?
Even more so without knowing your source code...
Carl Eugen
More information about the ffmpeg-user
mailing list