Michael Niedermayer
|
e5054c8eed
|
avcodec/pthread_slice: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
72555f4a38
|
avcodec/pthread_slice: Check for malloc failure
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Michael Niedermayer
|
4959c4a793
|
avcodec/pthread_slice: Use av_malloc(z)_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
11 years ago |
Anton Khirnov
|
38ecc3702d
|
pthread: store thread contexts in AVCodecInternal instead of AVCodecContext
It's a private field, it should not be visible to callers.
Deprecate AVCodecContext.thread_opaque
|
12 years ago |
Anton Khirnov
|
daa7a1d443
|
pthread_slice: rename ThreadContext -> SliceThreadContext
This should prevent confusion with frame threading.
|
12 years ago |
Anton Khirnov
|
cc14ee03a7
|
lavc: split slice and frame threading functions into separate files
|
12 years ago |