Re: [Libav-user] Is libav thread-safe?

2013-10-09 Thread James Board
Well, yes, you can call C from a C++ app. You need to mark the headers as C when you include them, but that's about it. Well, thanks for the help, but actually this isn't true.  I tried this with the demuxing.c example and that didn't work. It sounds like you're trying to solve a problem

Re: [Libav-user] Is libav thread-safe?

2013-10-09 Thread Paul B Mahol
On 10/9/13, James Board jpboa...@yahoo.com wrote: Well, yes, you can call C from a C++ app. You need to mark the headers as C when you include them, but that's about it. Well, thanks for the help, but actually this isn't true. I tried this with the demuxing.c example and that didn't work.

[Libav-user] Is libav thread-safe?

2013-10-08 Thread James Board
I want to create several pthreads in a C++ program (assuming you can call libav routines from a C++ program) that each call libav subroutines.  Are the libav subroutines  thread-safe?  Specifically, can several pthreads open the same AVI file and decode different video frames concurrently? I'm

Re: [Libav-user] Is libav thread-safe?

2013-10-08 Thread Bruce Wheaton
On Oct 8, 2013, at 12:05 PM, James Board jpboa...@yahoo.com wrote: I want to create several pthreads in a C++ program (assuming you can call libav routines from a C++ program) that each call libav subroutines. Well, yes, you can call C from a C++ app. You need to mark the headers as C when