OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd0219
)
hevc: unref the current frame if frame_start() fails
author
Anton Khirnov
<anton@khirnov.net>
Thu, 20 Nov 2014 08:41:56 +0000
(09:41 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 27 Jan 2015 07:34:56 +0000
(08:34 +0100)
Prevents DPB from filling up with damaged input.
libavcodec/hevc.c
patch
|
blob
|
history
diff --git
a/libavcodec/hevc.c
b/libavcodec/hevc.c
index
897a28e
..
9957f31
100644
(file)
--- a/
libavcodec/hevc.c
+++ b/
libavcodec/hevc.c
@@
-2460,7
+2460,7
@@
static int hevc_frame_start(HEVCContext *s)
fail:
if (s->ref)
- ff_
thread_report_progress(&s->ref->tf, INT_MAX,
0);
+ ff_
hevc_unref_frame(s, s->ref, ~
0);
s->ref = NULL;
return ret;
}