« Previous | Next » 

Revision 35d597d5

Parent 525fcb27
Child 59bebb11

Added by Måns Rullgård about 11 years ago

mpegaudio: call ff_mpegaudiodec_init_mmx() only from float decoder

The mmx code is floating-point only, and this function does not know
from which decoder it is called. Without this change, the integer
decoder only "works" because the size of the context struct is smaller
in this case, and the mmx init function writes the function pointer
outside the allocated context.

Fixes issue 2054.

Originally committed as revision 23949 to svn://svn.ffmpeg.org/ffmpeg/trunk


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences