Hello,
I am experiencing a heap corruption bug whenever I make multiple calls
to avformat_open_input. I have a video player that reads frames from a
UDP stream and I have the feature where the user can specify a new IP
address + port to read from. Whenever the user chooses a new stream, I
free all the the data structures (including calling av_close_input_file)
and reopen all of my structures again (including calling
avformat_open_input). Although I can for the most part close and open a
new address, if I try to open/close streams multiple times, eventually
my program will crash while trying to call avformat_open_input due to a
heap corruption bug. Has anyone experienced this or have any insight on
how to properly close and open a new stream?
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api