diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-04-11 16:04:05 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-04-24 10:06:25 +0200 |
commit | 0e7772c5e4f1b31e2a3dda714ba4f89b1cca644a (patch) | |
tree | 034ade5d40550ac3758a0cf4982b0e4a2fcaf42c /libavcodec/h264.c | |
parent | 7f045c4429e91688f1f2335dd347203431901c06 (diff) | |
download | ffmpeg-streaming-0e7772c5e4f1b31e2a3dda714ba4f89b1cca644a.zip ffmpeg-streaming-0e7772c5e4f1b31e2a3dda714ba4f89b1cca644a.tar.gz |
h264: remove unused H264SliceContext.rbsp_buffer
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 9d7b69c..9cc0a24 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -337,8 +337,6 @@ static av_cold int h264_decode_end(AVCodecContext *avctx) h->cur_pic_ptr = NULL; - for (i = 0; i < h->nb_slice_ctx; i++) - av_freep(&h->slice_ctx[i].rbsp_buffer); av_freep(&h->slice_ctx); h->nb_slice_ctx = 0; @@ -952,9 +950,7 @@ again: av_log(h->avctx, AV_LOG_ERROR, "decode_slice_header error\n"); sl->ref_count[0] = sl->ref_count[1] = sl->list_count = 0; } else if (err == 1) { - /* Slice could not be decoded in parallel mode, restart. Note - * that rbsp_buffer is not transferred, but since we no longer - * run in parallel mode this should not be an issue. */ + /* Slice could not be decoded in parallel mode, restart. */ sl = &h->slice_ctx[0]; goto again; } |