eeh 10l removed too much lines :(
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 27 Mar 2002 03:07:07 +0000 (03:07 +0000)
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 27 Mar 2002 03:07:07 +0000 (03:07 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@5367 b3059339-0415-0410-9bf9-f77b7e298cf2

libmpcodecs/vd_ijpg.c

index 2caceda..b2921b6 100644 (file)
@@ -133,6 +133,8 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
 
  if ( len <= 0 ) return NULL; // skipped frame
 
+ cinfo.err=jpeg_std_error( &jerr.pub );
+ jerr.pub.error_exit=my_error_exit;
  if( setjmp( jerr.setjmp_buffer ) )
   {
    mp_msg( MSGT_DECVIDEO,MSGL_ERR,"[ijpg] setjmp error ...\n" );