[x265] [PATCH 4 of 5] TEncSbac: remove exit() calls from unsupported functions

Steve Borho steve at borho.org
Wed Sep 18 20:52:08 CEST 2013


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1379525998 18000
#      Wed Sep 18 12:39:58 2013 -0500
# Node ID 5a654d48aa996550d68d6ad85eddcf7770c3fa89
# Parent  165ef70557b68f44311bf689c825a4d2302de25a
TEncSbac: remove exit() calls from unsupported functions

diff -r 165ef70557b6 -r 5a654d48aa99 source/Lib/TLibEncoder/TEncSbac.h
--- a/source/Lib/TLibEncoder/TEncSbac.h	Wed Sep 18 12:34:31 2013 -0500
+++ b/source/Lib/TLibEncoder/TEncSbac.h	Wed Sep 18 12:39:58 2013 -0500
@@ -117,9 +117,8 @@
     void  xCopyFrom(TEncSbac* src);
     void  xCopyContextsFrom(TEncSbac* src);
 
-    void codeDFFlag(UInt /*uiCode*/, const char* /*pSymbolName*/)       { printf("Not supported in codeDFFlag()\n"); assert(0); exit(1); }
-
-    void codeDFSvlc(int /*iCode*/, const char* /*pSymbolName*/)         { printf("Not supported in codeDFSvlc()\n"); assert(0); exit(1); }
+    void codeDFFlag(UInt /*uiCode*/, const char* /*pSymbolName*/) { printf("Not supported in codeDFFlag()\n"); assert(0); }
+    void codeDFSvlc(int /*iCode*/, const char* /*pSymbolName*/)   { printf("Not supported in codeDFSvlc()\n"); assert(0); }
 
 public:
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4040.diff
Type: text/x-patch
Size: 1142 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130918/fbbf0ba9/attachment.bin>


More information about the x265-devel mailing list