aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-27 14:21:09 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:14 +0100
commit404a416d4b1fcbf9db5569481d8181f296c01ea9 (patch)
tree8cf1be8bf8b3aa19b5937d7bf732982b4672365f /libavcodec/h264_slice.c
parent7bbc254d646ed9cf6deffc3fda75ae6729f95979 (diff)
downloadffmpeg-404a416d4b1fcbf9db5569481d8181f296c01ea9.tar.gz
h264: remove some remnants of data partitioning
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r--libavcodec/h264_slice.c6
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;