[mythtv-commits] Ticket #5468: Remove abort() calls in code
MythTV
mythtv at cvs.mythtv.org
Wed Jun 25 01:27:20 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 | Resolution:
Mlocked: 0 |
---------------------+------------------------------------------------------
Description changed by danielk:
Old description:
> 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();
New description:
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#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list