Add thread-safe wrapper for get_format().
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 7 Apr 2013 08:17:09 +0000 (10:17 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 15 Apr 2013 07:04:07 +0000 (09:04 +0200)
commitc10d498bfd246a40cc7830838b74e18a79418839
treec25fb041eefb1df030268b6bd517b415f7b1f1c8
parent8067f55edf3719182aed6e5b57b7863889f80218
Add thread-safe wrapper for get_format().

Just like get_buffer, get_format should not be called from a different
thread if thread_safe_callbacks is not set.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/h263dec.c
libavcodec/h264.c
libavcodec/mpeg12dec.c
libavcodec/pthread.c
libavcodec/thread.h
libavcodec/utils.c