summaryrefslogtreecommitdiff
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-04-06 21:00:42 +0200
committerAnton Khirnov <anton@khirnov.net>2015-04-29 05:52:58 +0200
commit11f024ef0ab923ed8680fc35a087d576e549c849 (patch)
tree61c061aa49fa78c2aa3e366ea027d69c69f21dfa /libavcodec/h264_slice.c
parentee62b364be0c30cba83b5ff10a3ca8c3e866ade6 (diff)
h264: move freeing the escaped RBSP buffer to free_context()
It does not logically belong in free_tables(), since it's not allocated in alloc_tables() and its size has nothing to do with the frame size.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r--libavcodec/h264_slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index da394d19e4..4623dd99fa 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -994,7 +994,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
}
if (reinit)
- ff_h264_free_tables(h, 0);
+ ff_h264_free_tables(h);
h->first_field = 0;
h->prev_interlaced_frame = 1;