aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-12-28 21:49:56 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-12-28 21:49:56 +0000
commitde4898a22909ff8a9ff846820627094bdd68b648 (patch)
treee41e67df161a9cc0345de17f5e0a89f9808c67c1 /libavcodec/vdpau.h
parenta8beb22f4def164be718261092a42b9294e50e3f (diff)
downloadffmpeg-de4898a22909ff8a9ff846820627094bdd68b648.tar.gz
Set thread_count in the decoder before to open it.
This is safer since avcodec_open() may initialize some structure using the thread_count default value which will be changed later, causing potential security / stability issues. Also do not explicitely set the thread_count value in the decoder, since this is already done by avcodec_thread_init(). See the thread: "[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it", started in date 2008-03-08. Originally committed as revision 20954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vdpau.h')
0 files changed, 0 insertions, 0 deletions