h264: move rbsp_buffer into the per-slice context

This commit is contained in:
Anton Khirnov
2015-01-17 22:28:46 +01:00
parent 582683b6ac
commit 3178f4d33f
4 changed files with 17 additions and 18 deletions

View File

@@ -535,9 +535,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst,
return ret;
}
h->rbsp_buffer = NULL;
h->rbsp_buffer_size = 0;
h->thread_context[0] = h;
h->context_initialized = 1;