diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-11 21:44:27 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-11 21:44:27 +0000 |
commit | 34dfe896e36def9d757a09e91589eadb2ee37457 (patch) | |
tree | a98c5cfcbe4f84f91436de86f53b881d95573193 /libavcodec | |
parent | 47837688ca0d61c4ef1e344906b67b240878a764 (diff) | |
download | ffmpeg-streaming-34dfe896e36def9d757a09e91589eadb2ee37457.zip ffmpeg-streaming-34dfe896e36def9d757a09e91589eadb2ee37457.tar.gz |
* quick fix for bit exact setting
(FIXME - add this into context flags)
Originally committed as revision 1200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dsputil.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index a41195a..c12d3d4 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -1792,6 +1792,12 @@ void dsputil_init(DSPContext* c, unsigned mask) #ifdef HAVE_MMX dsputil_init_mmx(c, mask); + if (ff_bit_exact) + { + /* FIXME - AVCodec context should have flag for bitexact match */ + /* fprintf(stderr, "\n\n\nff_bit_exact %d\n\n\n\n", ff_bit_exact); */ + dsputil_set_bit_exact_mmx(c, mask); + } #endif #ifdef ARCH_ARMV4L dsputil_init_armv4l(c, mask); @@ -1817,7 +1823,7 @@ void avcodec_set_bit_exact(void) { ff_bit_exact=1; #ifdef HAVE_MMX -#warning FIXME - set_bit_exact +// FIXME - better set_bit_exact // dsputil_set_bit_exact_mmx(); #endif } |