diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 16:12:53 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 11:51:26 +0400 |
commit | da6506c607eda585ba4b15430cf3c9a2ce09c3a9 (patch) | |
tree | fb2436a79ef99b8f7d8b50f015d5a86d0b9d1ae3 /libavcodec/pthread_frame.c | |
parent | 38ecc3702dabbea09230f6d6333f59e74f5d1c12 (diff) |
lavc: move AVCodecContext.pkt to AVCodecInternal
It's a private field, not meant to be accessed from outside lavc.
Diffstat (limited to 'libavcodec/pthread_frame.c')
-rw-r--r-- | libavcodec/pthread_frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index c2d12c854f..3dff9608f9 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -608,7 +608,6 @@ int ff_frame_thread_init(AVCodecContext *avctx) } *copy = *src; - copy->pkt = &p->avpkt; copy->internal = av_malloc(sizeof(AVCodecInternal)); if (!copy->internal) { @@ -617,6 +616,7 @@ int ff_frame_thread_init(AVCodecContext *avctx) } *copy->internal = *src->internal; copy->internal->thread_ctx = p; + copy->internal->pkt = &p->avpkt; if (!i) { src = copy; |