summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-27 23:51:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-28 00:04:58 +0200
commit0e7444f6e400b16282f6349e3c53bcb72e6e2ad9 (patch)
tree2ae35e1ed2e9659ff56611ac9b705f7ce80944d1 /libavcodec/hevc_parser.c
parent2879a4ecb9c31430dae75af79696ef4f94ce6b46 (diff)
avcodec/hevc: Remove current_sps
The variable should not be needed anymore Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_parser.c')
-rw-r--r--libavcodec/hevc_parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c
index 70768976b6..3c7c3c377d 100644
--- a/libavcodec/hevc_parser.c
+++ b/libavcodec/hevc_parser.c
@@ -333,7 +333,6 @@ static void hevc_close(AVCodecParserContext *s)
for (i = 0; i < FF_ARRAY_ELEMS(h->pps_list); i++)
av_buffer_unref(&h->pps_list[i]);
- av_buffer_unref(&h->current_sps);
h->sps = NULL;
for (i = 0; i < h->nals_allocated; i++)