[Ffmpeg-devel] DV decoder questions

Måns Rullgård mru
Mon Dec 12 14:28:57 CET 2005


Burkhard Plaum said:
> Hi all,
>
> 2 things I stumbled across:
>
> - In dv.c, there is a
>
>   static uint8_t** dv_anchor;
>
>   which handles multithreaded decoding. Now if one wants to
>   decode 2 dv streams in 2 threads, this will most likely
>   crash as long as the dv_anchor is a global variable.
>   Would you apply a patch, which moves the dv_anchor to the
>   DVVideoContext?

Global variables are evil.  Patches to get rid of them are welcome.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list