Commit 74e8b78b authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix H.264 decoding.

(Problem analyzed by Uoti Urpala)

Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3f3ca7ac
...@@ -7338,7 +7338,7 @@ static void execute_decode_slices(H264Context *h, int context_count){ ...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment