comparison dv.c @ 1507:f4cf270b98ae libavcodec

* recommiting change from SF CVS
author romansh
date Sat, 11 Oct 2003 01:41:41 +0000
parents ad7e62df9962
children 79dddc5cd990
comparison
equal deleted inserted replaced
1506:e0c02032d0f2 1507:f4cf270b98ae
843 if(s->picture.data[0]) 843 if(s->picture.data[0])
844 avctx->release_buffer(avctx, &s->picture); 844 avctx->release_buffer(avctx, &s->picture);
845 845
846 s->picture.reference = 0; 846 s->picture.reference = 0;
847 avctx->pix_fmt = s->sys->pix_fmt; 847 avctx->pix_fmt = s->sys->pix_fmt;
848 avctx->width = s->sys->width;
849 avctx->height = s->sys->height;
848 if(avctx->get_buffer(avctx, &s->picture) < 0) { 850 if(avctx->get_buffer(avctx, &s->picture) < 0) {
849 fprintf(stderr, "get_buffer() failed\n"); 851 fprintf(stderr, "get_buffer() failed\n");
850 return -1; 852 return -1;
851 } 853 }
852 854