On 06/06/2011 11:09 AM, Diego Biurrun wrote: > --- > libavcodec/dvbsubdec.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c > index 66659ae..ab1852e 100644 > --- a/libavcodec/dvbsubdec.c > +++ b/libavcodec/dvbsubdec.c > @@ -34,7 +34,9 @@ > #define cm (ff_cropTbl + MAX_NEG_CROP) > > #ifdef DEBUG > +#undef exit
the code should be changed to just return from the function if it can't open the file, not exit the program. > #undef fprintf > +#undef perror ok -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
