mirror of https://git.ffmpeg.org/ffmpeg.git
Fix H.264 decoding.
(Problem analyzed by Uoti Urpala) Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3f3ca7ac07
commit
74e8b78b20
|
@ -7338,7 +7338,7 @@ static void execute_decode_slices(H264Context *h, int context_count){
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if(context_count == 1) {
|
if(context_count == 1) {
|
||||||
decode_slice(avctx, h);
|
decode_slice(avctx, &h);
|
||||||
} else {
|
} else {
|
||||||
for(i = 1; i < context_count; i++) {
|
for(i = 1; i < context_count; i++) {
|
||||||
hx = h->thread_context[i];
|
hx = h->thread_context[i];
|
||||||
|
|
Loading…
Reference in New Issue