This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
hevc: unref the current frame if frame_start() fails
Prevents DPB from filling up with damaged input.
tags/n2.6
Anton Khirnov
11 years ago
parent
1dd021929f
commit
443b71928b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/hevc.c
+ 1
- 1
libavcodec/hevc.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save