[mythtv-commits] Ticket #5468: Remove abort() calls in code

MythTV mythtv at cvs.mythtv.org
Wed Jun 25 01:27:00 UTC 2008


#5468: Remove abort() calls in code
---------------------+------------------------------------------------------
 Reporter:  danielk  |       Owner:  danielk
     Type:  defect   |      Status:  new    
 Priority:  trivial  |   Milestone:  unknown
Component:  mythtv   |     Version:  head   
 Severity:  medium   |     Mlocked:  0      
---------------------+------------------------------------------------------
 There are 12 abort) calls in mythtv, these errors should be handled more
 gracefully:

 libs/libavcodec/mpegvideo.c:    abort();
 libs/libavcodec/shorten.c:            abort();
 libs/libmythdvdnav/decoder.c:    abort();
 libs/libmythdvdnav/decoder.c:   abort();
 libs/libmythdvdnav/decoder.c:      abort();
 libs/libmythdvdnav/nav_read.c:    abort();
 libs/libmythdvdnav/nav_read.c:  if (!getbits_init(&state, buffer))
 abort(); /* Passed NULL pointers */
 libs/libmythdvdnav/nav_read.c:  if (!getbits_init(&state, buffer))
 abort(); /* Passed NULL pointers */
 libs/libmythdvdnav/vm.c:    abort();
 libs/libmythdvdnav/vm.c:    abort();
 libs/libmythdvdnav/vm.c:    abort();
 libs/libmythdvdnav/vm.c:    abort();

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5468>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list