summaryrefslogtreecommitdiffstats
path: root/libhb/qsv_libav.h
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-04-01 07:10:49 +0200
committerJohn Stebbins <[email protected]>2016-12-17 07:28:51 -0800
commitc4d539e1791b3fcc3788c4c7656abe55675267b0 (patch)
tree1c6695431c6608b18a938527f91aba24ee8f8828 /libhb/qsv_libav.h
parent5b48deb11f450de5d26f37cbe08a6272b6bb1e5b (diff)
libhb: don't use av_log.
qsv_libav.[ch] was previosuly use from libavcodec.
Diffstat (limited to 'libhb/qsv_libav.h')
-rw-r--r--libhb/qsv_libav.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/qsv_libav.h b/libhb/qsv_libav.h
index bd6caf7ed..df33ddcb5 100644
--- a/libhb/qsv_libav.h
+++ b/libhb/qsv_libav.h
@@ -143,11 +143,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define AV_QSV_ALIGN32(X) (((mfxU32)((X)+31)) & (~ (mfxU32)31))
#define AV_QSV_ALIGN16(value) (((value + 15) >> 4) << 4)
#ifndef AV_QSV_PRINT_RET_MSG
-#define AV_QSV_PRINT_RET_MSG(ERR) { av_log(NULL, AV_LOG_FATAL,"Error code %d,\t%s\t%d\n", ERR, __FUNCTION__, __LINE__); }
+#define AV_QSV_PRINT_RET_MSG(ERR) { fprintf(stderr, "Error code %d,\t%s\t%d\n", ERR, __FUNCTION__, __LINE__); }
#endif
#ifndef AV_QSV_DEBUG_ASSERT
-#define AV_QSV_DEBUG_ASSERT(x,y) {if ((x)) {av_log(NULL, AV_LOG_FATAL,"\nASSERT: %s\n",y);};}
+#define AV_QSV_DEBUG_ASSERT(x,y) { if ((x)) { fprintf(stderr, "\nASSERT: %s\n", y); } }
#endif
#define AV_QSV_CHECK_RESULT(P, X, ERR) {if ((X) > (P)) {AV_QSV_PRINT_RET_MSG(ERR); return ERR;}}