Mercurial > libavcodec.hg
diff mjpeg.c @ 1092:f59c3f66363b libavcodec
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup
| author | michaelni |
|---|---|
| date | Mon, 03 Mar 2003 14:54:00 +0000 |
| parents | b32afefe7d33 |
| children | 1e39f273ecd6 |
line wrap: on
line diff
--- a/mjpeg.c Sat Mar 01 00:16:00 2003 +0000 +++ b/mjpeg.c Mon Mar 03 14:54:00 2003 +0000 @@ -386,7 +386,7 @@ } /* comment */ - if(!ff_bit_exact){ + if(!(s->flags & CODEC_FLAG_BITEXACT)){ put_marker(p, COM); flush_put_bits(p); ptr = pbBufPtr(p); @@ -703,7 +703,7 @@ s->avctx = avctx; - /* ugly way to get the idct & scantable */ + /* ugly way to get the idct & scantable FIXME */ memset(&s2, 0, sizeof(MpegEncContext)); s2.flags= avctx->flags; s2.avctx= avctx; @@ -713,7 +713,7 @@ if (MPV_common_init(&s2) < 0) return -1; s->scantable= s2.intra_scantable; - s->idct_put= s2.idct_put; + s->idct_put= s2.dsp.idct_put; MPV_common_end(&s2); s->mpeg_enc_ctx_allocated = 0;
