Mercurial > libavcodec.hg
comparison dv.c @ 734:2d6b3e3d6c6f libavcodec
10l - MMX/FPU state was not restored, causing nonsense fpu behaviour in caller (mplayer)
author | arpi_esp |
---|---|
date | Mon, 07 Oct 2002 23:08:42 +0000 |
parents | 7da52fc20726 |
children | 248a752a4c0e |
comparison
equal
deleted
inserted
replaced
733:7da52fc20726 | 734:2d6b3e3d6c6f |
---|---|
562 buf_ptr += 5 * 80; | 562 buf_ptr += 5 * 80; |
563 mb_pos_ptr += 5; | 563 mb_pos_ptr += 5; |
564 } | 564 } |
565 } | 565 } |
566 | 566 |
567 emms_c(); | |
568 | |
567 /* return image */ | 569 /* return image */ |
568 avctx->width = width; | 570 avctx->width = width; |
569 avctx->height = height; | 571 avctx->height = height; |
570 if (s->sampling_411) | 572 if (s->sampling_411) |
571 avctx->pix_fmt = PIX_FMT_YUV411P; | 573 avctx->pix_fmt = PIX_FMT_YUV411P; |
579 picture = data; | 581 picture = data; |
580 for(i=0;i<3;i++) { | 582 for(i=0;i<3;i++) { |
581 picture->data[i] = s->current_picture[i]; | 583 picture->data[i] = s->current_picture[i]; |
582 picture->linesize[i] = s->linesize[i]; | 584 picture->linesize[i] = s->linesize[i]; |
583 } | 585 } |
586 | |
584 return buf_size; | 587 return buf_size; |
585 } | 588 } |
586 | 589 |
587 static int dvvideo_decode_end(AVCodecContext *avctx) | 590 static int dvvideo_decode_end(AVCodecContext *avctx) |
588 { | 591 { |