diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-01-27 14:21:09 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-03-21 11:27:14 +0100 |
commit | 404a416d4b1fcbf9db5569481d8181f296c01ea9 (patch) | |
tree | 8cf1be8bf8b3aa19b5937d7bf732982b4672365f /libavcodec/h264_slice.c | |
parent | 7bbc254d646ed9cf6deffc3fda75ae6729f95979 (diff) | |
download | ffmpeg-404a416d4b1fcbf9db5569481d8181f296c01ea9.tar.gz |
h264: remove some remnants of data partitioning
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index fea263addf..e409847ebd 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -528,10 +528,8 @@ int ff_h264_update_thread_context(AVCodecContext *dst, return ret; } - for (i = 0; i < 2; i++) { - h->rbsp_buffer[i] = NULL; - h->rbsp_buffer_size[i] = 0; - } + h->rbsp_buffer = NULL; + h->rbsp_buffer_size = 0; h->bipred_scratchpad = NULL; h->edge_emu_buffer = NULL; |