[Ffmpeg-devel] Parallel mpeg4/h264 decoding in same process
François Revol
revol
Wed Jun 1 13:13:56 CEST 2005
> "Fran?ois Revol" <revol at free.fr> writes:
>
> > btw you don't need a mutex on avcodec_decode...(), it should only
> > be
> > needed around find/alloc_foo.
>
> Is it even required there? Isn't avcodec_init() enough?
I think the alloc one ends up allocating static tables at some
points...
so that would leak some mem.
If not, then init is the only one unless you plan on registering new
codecs at runtime.
Fran?ois.
More information about the ffmpeg-devel
mailing list