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
h264dec: make sure not to call finish_setup() more than once per frame
It does not break anything currently, but should not be done anyway.
tags/n3.3
Anton Khirnov
9 years ago
parent
da917fcf51
commit
1f7b4f9abc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/h264dec.c
+ 1
- 1
libavcodec/h264dec.c
View File
@@ -550,7 +550,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size)
break;
if (avctx->active_thread_type & FF_THREAD_FRAME && !h->avctx->hwaccel &&
i >= nals_needed) {
i >= nals_needed
&& !h->setup_finished
) {
ff_thread_finish_setup(avctx);
h->setup_finished = 1;
}
Write
Preview
Loading…
Cancel
Save