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:
Carl Eugen Hoyos 2008-11-13 11:33:26 +00:00
parent 3f3ca7ac07
commit 74e8b78b20

View File

@ -7338,7 +7338,7 @@ static void execute_decode_slices(H264Context *h, int context_count){
int i;
if(context_count == 1) {
decode_slice(avctx, h);
decode_slice(avctx, &h);
} else {
for(i = 1; i < context_count; i++) {
hx = h->thread_context[i];